Umstellung auf Date

This commit is contained in:
2025-02-07 17:23:26 -06:00
parent 5b475f197a
commit 5eee7c9ac4
5 changed files with 51 additions and 37 deletions

View File

@@ -1,11 +1,11 @@
{
"id": "ad8762e3-d7ad-4605-b2fc-b10a0de0f08a",
"id": "5c983d57-b2f3-4fb4-b99e-066574c486e3",
"prevId": "00000000-0000-0000-0000-000000000000",
"version": "7",
"dialect": "postgresql",
"tables": {
"public.Deck": {
"name": "Deck",
"public.deck": {
"name": "deck",
"schema": "",
"columns": {
"id": {
@@ -15,7 +15,7 @@
"notNull": true,
"identity": {
"type": "always",
"name": "Deck_id_seq",
"name": "deck_id_seq",
"schema": "public",
"increment": "1",
"startWith": "1",
@@ -97,8 +97,8 @@
"primaryKey": false,
"notNull": false
},
"isGraduated": {
"name": "isGraduated",
"isgraduated": {
"name": "isgraduated",
"type": "integer",
"primaryKey": false,
"notNull": false
@@ -111,17 +111,17 @@
},
"inserted": {
"name": "inserted",
"type": "varchar",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "(CURRENT_TIMESTAMP)"
"default": "now()"
},
"updated": {
"name": "updated",
"type": "varchar",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "(CURRENT_TIMESTAMP)"
"default": "now()"
}
},
"indexes": {
@@ -194,6 +194,20 @@
"type": "varchar(50)",
"primaryKey": false,
"notNull": false
},
"inserted": {
"name": "inserted",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
},
"updated": {
"name": "updated",
"type": "timestamp",
"primaryKey": false,
"notNull": false,
"default": "now()"
}
},
"indexes": {

View File

@@ -5,8 +5,8 @@
{
"idx": 0,
"version": "7",
"when": 1738881267759,
"tag": "0000_dapper_the_watchers",
"when": 1738963581892,
"tag": "0000_known_stepford_cuckoos",
"breakpoints": true
}
]