Skip to content

Commit 7881ac0

Browse files
committed
chore: release v0.70.11
1 parent 9c04eae commit 7881ac0

File tree

144 files changed

+187
-219
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+187
-219
lines changed

.github/workflows/homebrew.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
cd homebrew-tap
4343
git add Formula/stacks.rb
4444
git commit -m "chore: update formula to ${{ github.event.release.tag_name }}"
45-
git push
45+
git push

database/migrations/1743002082477-create-personal_access_tokens-table.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ export async function up(db: Database<any>) {
1515
.addColumn('ip_address', 'text')
1616
.addColumn('device_name', 'text')
1717
.addColumn('is_single_use', 'integer')
18-
.addColumn('team_id', 'integer', (col) =>
19-
col.references('teams.id').onDelete('cascade')
20-
)
18+
.addColumn('team_id', 'integer', col =>
19+
col.references('teams.id').onDelete('cascade'))
2120
.addColumn('created_at', 'timestamp', col => col.notNull().defaultTo(sql`CURRENT_TIMESTAMP`))
2221
.addColumn('updated_at', 'timestamp')
2322
.execute()

database/migrations/1743002082480-create-team_users-table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ export async function up(db: Database<any>) {
99
.addColumn('user_id', 'integer')
1010
.addColumn('created_at', 'timestamp', col => col.defaultTo(sql.raw('CURRENT_TIMESTAMP')))
1111
.execute()
12-
}
12+
}

database/migrations/1743002082497-create-teams-table.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ export async function up(db: Database<any>) {
1313
.addColumn('description', 'text', col => col.notNull())
1414
.addColumn('path', 'text', col => col.notNull())
1515
.addColumn('is_personal', 'integer', col => col.notNull())
16-
.addColumn('user_id', 'integer', (col) =>
17-
col.references('users.id').onDelete('cascade')
18-
)
16+
.addColumn('user_id', 'integer', col =>
17+
col.references('users.id').onDelete('cascade'))
1918
.addColumn('created_at', 'timestamp', col => col.notNull().defaultTo(sql`CURRENT_TIMESTAMP`))
2019
.addColumn('updated_at', 'timestamp')
2120
.execute()

database/migrations/1743002082516-create-subscribers-table.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ export async function up(db: Database<any>) {
66
.createTable('subscribers')
77
.addColumn('id', 'integer', col => col.primaryKey().autoIncrement())
88
.addColumn('subscribed', 'integer', col => col.notNull())
9-
.addColumn('user_id', 'integer', (col) =>
10-
col.references('users.id').onDelete('cascade')
11-
)
9+
.addColumn('user_id', 'integer', col =>
10+
col.references('users.id').onDelete('cascade'))
1211
.addColumn('created_at', 'timestamp', col => col.notNull().defaultTo(sql`CURRENT_TIMESTAMP`))
1312
.addColumn('updated_at', 'timestamp')
1413
.execute()

database/migrations/1743002082534-create-deployments-table.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ export async function up(db: Database<any>) {
1313
.addColumn('execution_time', 'numeric', col => col.notNull())
1414
.addColumn('deploy_script', 'text', col => col.notNull())
1515
.addColumn('terminal_output', 'text', col => col.notNull())
16-
.addColumn('user_id', 'integer', (col) =>
17-
col.references('users.id').onDelete('cascade')
18-
)
16+
.addColumn('user_id', 'integer', col =>
17+
col.references('users.id').onDelete('cascade'))
1918
.addColumn('created_at', 'timestamp', col => col.notNull().defaultTo(sql`CURRENT_TIMESTAMP`))
2019
.addColumn('updated_at', 'timestamp')
2120
.execute()

database/migrations/1743002082569-create-passkeys-table.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Database } from '@stacksjs/database'
2-
import { sql } from '@stacksjs/database'
2+
import { sql } from '@stacksjs/database'
33

44
export async function up(db: Database<any>) {
55
await db.schema
@@ -17,4 +17,4 @@ export async function up(db: Database<any>) {
1717
.addColumn('last_used_at', 'text')
1818
.addColumn('created_at', 'timestamp', col => col.notNull().defaultTo(sql.raw('CURRENT_TIMESTAMP')))
1919
.execute()
20-
}
20+
}

database/migrations/1743002082570-create-users-table.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ export async function up(db: Database<any>) {
1111
.addColumn('password', 'text', col => col.notNull())
1212
.addColumn('job_title', 'text', col => col.notNull())
1313
.addColumn('stripe_id', 'varchar(255)')
14-
.addColumn('team_id', 'integer', (col) =>
15-
col.references('teams.id').onDelete('cascade')
16-
)
14+
.addColumn('team_id', 'integer', col =>
15+
col.references('teams.id').onDelete('cascade'))
1716
.addColumn('public_passkey', 'text')
1817
.addColumn('created_at', 'timestamp', col => col.notNull().defaultTo(sql`CURRENT_TIMESTAMP`))
1918
.addColumn('updated_at', 'timestamp')

database/migrations/1743002082592-create-posts-table.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ export async function up(db: Database<any>) {
77
.addColumn('id', 'integer', col => col.primaryKey().autoIncrement())
88
.addColumn('title', 'text', col => col.notNull())
99
.addColumn('body', 'text', col => col.notNull())
10-
.addColumn('user_id', 'integer', (col) =>
11-
col.references('users.id').onDelete('cascade')
12-
)
10+
.addColumn('user_id', 'integer', col =>
11+
col.references('users.id').onDelete('cascade'))
1312
.addColumn('created_at', 'timestamp', col => col.notNull().defaultTo(sql`CURRENT_TIMESTAMP`))
1413
.addColumn('updated_at', 'timestamp')
1514
.execute()

database/migrations/1743002082629-create-payments-table.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ export async function up(db: Database<any>) {
1818
.addColumn('payment_provider', 'text')
1919
.addColumn('refund_amount', 'numeric')
2020
.addColumn('notes', 'text')
21-
.addColumn('customer_id', 'integer', (col) =>
22-
col.references('customers.id').onDelete('cascade')
23-
)
24-
.addColumn('order_id', 'integer', (col) =>
25-
col.references('orders.id').onDelete('cascade')
26-
)
21+
.addColumn('customer_id', 'integer', col =>
22+
col.references('customers.id').onDelete('cascade'))
23+
.addColumn('order_id', 'integer', col =>
24+
col.references('orders.id').onDelete('cascade'))
2725
.addColumn('created_at', 'timestamp', col => col.notNull().defaultTo(sql`CURRENT_TIMESTAMP`))
2826
.addColumn('updated_at', 'timestamp')
2927
.execute()

0 commit comments

Comments
 (0)