lock trading for 1 minute for creator

This commit is contained in:
Face 2025-07-15 19:42:25 +03:00
parent c729913db0
commit 6c54afc88d
9 changed files with 2324 additions and 8 deletions

View file

@ -96,6 +96,8 @@ export const coin = pgTable("coin", {
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
isListed: boolean("is_listed").default(true).notNull(),
tradingUnlocksAt: timestamp("trading_unlocks_at"),
isLocked: boolean("is_locked").default(true).notNull(),
}, (table) => {
return {
symbolIdx: index("coin_symbol_idx").on(table.symbol),