mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-26 15:02:20 +00:00
feat(database): add created_at column to invitation table and update schema
- Introduced a new column "created_at" with a default timestamp to the "invitation" table. - Updated the account schema to reflect this change, ensuring consistency across the database structure. - Added corresponding metadata in the snapshot and journal files for versioning.
This commit is contained in:
@@ -155,6 +155,7 @@ export const invitation = pgTable("invitation", {
|
||||
.notNull()
|
||||
.references(() => user.id, { onDelete: "cascade" }),
|
||||
teamId: text("team_id"),
|
||||
createdAt: timestamp("created_at").defaultNow().notNull(),
|
||||
});
|
||||
|
||||
export const invitationRelations = relations(invitation, ({ one }) => ({
|
||||
|
||||
Reference in New Issue
Block a user