ea28d9f5 months ago23 lines · 792 B| 1 | import { |
| 2 | boolean, |
| 3 | mysqlTable, |
| 4 | text, |
| 5 | timestamp, |
| 6 | varchar, |
| 7 | } from "drizzle-orm/mysql-core"; |
| 8 | |
| 9 | export const mounts = |
| 10 | id: varchar("id |
| 11 | uuid: varchar("uuid |
| 12 | name: varchar("name |
| 13 | description: text("description |
| 14 | source: varchar("source |
| 15 | target: varchar("target |
| 16 | readOnly: boolean("read_only |
| 17 | userMountable: boolean("user_mountable |
| 18 | createdAt: timestamp("created_at |
| 19 | updatedAt: timestamp("updated_at |
| 20 | .defaultNow() |
| 21 | .$onUpdate(() => |
| 22 | .notNull(), |
| 23 | }); |