You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: drift_schemas/app/drift_schema_v2.json
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -169,6 +169,16 @@
169
169
"default_dart": null,
170
170
"default_client_dart": null,
171
171
"dsl_features": []
172
+
},
173
+
{
174
+
"name": "deleted_at",
175
+
"getter_name": "deletedAt",
176
+
"moor_type": "dateTime",
177
+
"nullable": false,
178
+
"customConstraints": null,
179
+
"default_dart": "const CustomExpression('CAST(strftime(\\'%s\\', CURRENT_TIMESTAMP) AS INTEGER)')",
180
+
"default_client_dart": null,
181
+
"dsl_features": []
172
182
}
173
183
],
174
184
"is_virtual": false,
@@ -324,7 +334,7 @@
324
334
"sql": [
325
335
{
326
336
"dialect": "sqlite",
327
-
"sql": "CREATE TABLE IF NOT EXISTS \"deleted_totps\" (\"uuid\" TEXT NOT NULL, PRIMARY KEY (\"uuid\"));"
337
+
"sql": "CREATE TABLE IF NOT EXISTS \"deleted_totps\" (\"uuid\" TEXT NOT NULL, \"deleted_at\" INTEGER NOT NULL DEFAULT (CAST(strftime('%s', CURRENT_TIMESTAMP) AS INTEGER)), PRIMARY KEY (\"uuid\"));"
0 commit comments