supported apps domain + some refactor of data types redundancy
This commit is contained in:
9
packages/db/schema/supported-app.schema.ts
Normal file
9
packages/db/schema/supported-app.schema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { pgTable, serial, text, timestamp } from "drizzle-orm/pg-core";
|
||||
|
||||
export const supportedApp = pgTable("supported_app", {
|
||||
id: serial("id").primaryKey(),
|
||||
title: text("title").notNull(),
|
||||
packageName: text("package_name").notNull().unique(),
|
||||
createdAt: timestamp("created_at").notNull(),
|
||||
updatedAt: timestamp("updated_at").notNull(),
|
||||
});
|
||||
Reference in New Issue
Block a user