mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-07 22:24:06 -05:00
chore(db): remove unused table and unused route (#2342)
This commit is contained in:
1
packages/db/migrations/0122_pale_absorbing_man.sql
Normal file
1
packages/db/migrations/0122_pale_absorbing_man.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE "marketplace" CASCADE;
|
||||
7715
packages/db/migrations/meta/0122_snapshot.json
Normal file
7715
packages/db/migrations/meta/0122_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -848,6 +848,13 @@
|
||||
"when": 1765434895472,
|
||||
"tag": "0121_new_mantis",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 122,
|
||||
"version": "7",
|
||||
"when": 1765587157593,
|
||||
"tag": "0122_pale_absorbing_man",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -621,24 +621,6 @@ export const apiKey = pgTable(
|
||||
})
|
||||
)
|
||||
|
||||
export const marketplace = pgTable('marketplace', {
|
||||
id: text('id').primaryKey(),
|
||||
workflowId: text('workflow_id')
|
||||
.notNull()
|
||||
.references(() => workflow.id, { onDelete: 'cascade' }),
|
||||
state: json('state').notNull(),
|
||||
name: text('name').notNull(),
|
||||
description: text('description'),
|
||||
authorId: text('author_id')
|
||||
.notNull()
|
||||
.references(() => user.id),
|
||||
authorName: text('author_name').notNull(),
|
||||
views: integer('views').notNull().default(0),
|
||||
category: text('category'),
|
||||
createdAt: timestamp('created_at').notNull().defaultNow(),
|
||||
updatedAt: timestamp('updated_at').notNull().defaultNow(),
|
||||
})
|
||||
|
||||
export const billingBlockedReasonEnum = pgEnum('billing_blocked_reason', [
|
||||
'payment_failed',
|
||||
'dispute',
|
||||
|
||||
Reference in New Issue
Block a user