Skip to content

Commit

Permalink
Fixed old migration of last_modified to have default value (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhaufe authored Sep 5, 2024
1 parent 5826298 commit aad034d
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 82 deletions.
19 changes: 19 additions & 0 deletions migrations/.snapshot-cathedral.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -478,6 +479,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -592,6 +594,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -696,6 +699,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -800,6 +804,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -919,6 +924,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -1023,6 +1029,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -1127,6 +1134,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -1231,6 +1239,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -1335,6 +1344,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -1461,6 +1471,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -1580,6 +1591,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -1706,6 +1718,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -1810,6 +1823,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -1928,6 +1942,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -2032,6 +2047,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -2204,6 +2220,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -2330,6 +2347,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down Expand Up @@ -2571,6 +2589,7 @@
"primary": false,
"nullable": false,
"length": 6,
"default": "now()",
"mappedType": "datetime"
},
"modified_by_id": {
Expand Down
Loading

0 comments on commit aad034d

Please sign in to comment.