Skip to content

Commit

Permalink
merge: main
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksasiriski committed Jan 5, 2025
2 parents 0767626 + 53600b3 commit 7792ab1
Show file tree
Hide file tree
Showing 27 changed files with 1,161 additions and 144 deletions.
2 changes: 2 additions & 0 deletions drizzle/0007_aspiring_zombie.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE "person_entry" ALTER COLUMN "creator" DROP NOT NULL;--> statement-breakpoint
ALTER TABLE "person_exit" ALTER COLUMN "creator" DROP NOT NULL;
File renamed without changes.
21 changes: 3 additions & 18 deletions drizzle/meta/0007_snapshot.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "bcf6fa39-7ebc-4761-bd35-47cb8debf6d6",
"id": "81ee13a7-fe6d-4b61-828e-edba465e15b5",
"prevId": "00e93b06-d2d6-4901-80b0-a270695dd02b",
"version": "7",
"dialect": "postgresql",
Expand Down Expand Up @@ -99,12 +99,6 @@
"type": "text",
"primaryKey": false,
"notNull": true
},
"guarantor_id": {
"name": "guarantor_id",
"type": "integer",
"primaryKey": false,
"notNull": false
}
},
"indexes": {},
Expand All @@ -117,15 +111,6 @@
"columnsTo": ["name"],
"onDelete": "restrict",
"onUpdate": "cascade"
},
"person_guarantor_id_person_id_fk": {
"name": "person_guarantor_id_person_id_fk",
"tableFrom": "person",
"tableTo": "person",
"columnsFrom": ["guarantor_id"],
"columnsTo": ["id"],
"onDelete": "restrict",
"onUpdate": "cascade"
}
},
"compositePrimaryKeys": {},
Expand Down Expand Up @@ -164,7 +149,7 @@
"name": "creator",
"type": "text",
"primaryKey": false,
"notNull": true
"notNull": false
}
},
"indexes": {},
Expand Down Expand Up @@ -232,7 +217,7 @@
"name": "creator",
"type": "text",
"primaryKey": false,
"notNull": true
"notNull": false
}
},
"indexes": {},
Expand Down
Loading

0 comments on commit 7792ab1

Please sign in to comment.