@zodic/shared 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.wrangler/state/v3/d1/miniflare-D1DatabaseObject/d379cf52b047a184ecf29a10a32b971cde5e2c256717041a7cd396844038970d.sqlite-shm +0 -0
- package/db/migrations/{0000_dusty_green_goblin.sql → 0000_fearless_dust.sql} +68 -19
- package/db/migrations/0001_known_pretty_boy.sql +20 -0
- package/db/migrations/meta/0000_snapshot.json +371 -22
- package/db/migrations/meta/0001_snapshot.json +239 -26
- package/db/migrations/meta/_journal.json +4 -60
- package/db/schema.ts +4 -4
- package/package.json +4 -3
- package/db/migrations/0001_low_tattoo.sql +0 -20
- package/db/migrations/0002_condemned_turbo.sql +0 -2
- package/db/migrations/0003_cynical_frog_thor.sql +0 -32
- package/db/migrations/0004_light_masked_marvel.sql +0 -130
- package/db/migrations/0005_silky_dagger.sql +0 -1
- package/db/migrations/0006_low_silver_centurion.sql +0 -26
- package/db/migrations/0007_complex_tarantula.sql +0 -18
- package/db/migrations/0008_ancient_doomsday.sql +0 -15
- package/db/migrations/0009_odd_metal_master.sql +0 -33
- package/db/migrations/meta/0002_snapshot.json +0 -1414
- package/db/migrations/meta/0003_snapshot.json +0 -1458
- package/db/migrations/meta/0004_snapshot.json +0 -1480
- package/db/migrations/meta/0005_snapshot.json +0 -1487
- package/db/migrations/meta/0006_snapshot.json +0 -1487
- package/db/migrations/meta/0007_snapshot.json +0 -1487
- package/db/migrations/meta/0008_snapshot.json +0 -1590
- package/db/migrations/meta/0009_snapshot.json +0 -1590
|
@@ -1,9 +1,169 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "6",
|
|
3
3
|
"dialect": "sqlite",
|
|
4
|
-
"id": "
|
|
4
|
+
"id": "2247ab77-439a-4a8c-9548-d0d9f5417999",
|
|
5
5
|
"prevId": "00000000-0000-0000-0000-000000000000",
|
|
6
6
|
"tables": {
|
|
7
|
+
"artifact_faceswap": {
|
|
8
|
+
"name": "artifact_faceswap",
|
|
9
|
+
"columns": {
|
|
10
|
+
"id": {
|
|
11
|
+
"name": "id",
|
|
12
|
+
"type": "text",
|
|
13
|
+
"primaryKey": true,
|
|
14
|
+
"notNull": true,
|
|
15
|
+
"autoincrement": false
|
|
16
|
+
},
|
|
17
|
+
"user_artifact_id": {
|
|
18
|
+
"name": "user_artifact_id",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": true,
|
|
22
|
+
"autoincrement": false
|
|
23
|
+
},
|
|
24
|
+
"face_swapped_image_url": {
|
|
25
|
+
"name": "face_swapped_image_url",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": false,
|
|
29
|
+
"autoincrement": false
|
|
30
|
+
},
|
|
31
|
+
"status": {
|
|
32
|
+
"name": "status",
|
|
33
|
+
"type": "text",
|
|
34
|
+
"primaryKey": false,
|
|
35
|
+
"notNull": true,
|
|
36
|
+
"autoincrement": false,
|
|
37
|
+
"default": "'pending'"
|
|
38
|
+
},
|
|
39
|
+
"created_at": {
|
|
40
|
+
"name": "created_at",
|
|
41
|
+
"type": "integer",
|
|
42
|
+
"primaryKey": false,
|
|
43
|
+
"notNull": true,
|
|
44
|
+
"autoincrement": false,
|
|
45
|
+
"default": "CURRENT_TIMESTAMP"
|
|
46
|
+
},
|
|
47
|
+
"updated_at": {
|
|
48
|
+
"name": "updated_at",
|
|
49
|
+
"type": "integer",
|
|
50
|
+
"primaryKey": false,
|
|
51
|
+
"notNull": true,
|
|
52
|
+
"autoincrement": false,
|
|
53
|
+
"default": "CURRENT_TIMESTAMP"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"indexes": {},
|
|
57
|
+
"foreignKeys": {
|
|
58
|
+
"artifact_faceswap_user_artifact_id_user_artifacts_id_fk": {
|
|
59
|
+
"name": "artifact_faceswap_user_artifact_id_user_artifacts_id_fk",
|
|
60
|
+
"tableFrom": "artifact_faceswap",
|
|
61
|
+
"tableTo": "user_artifacts",
|
|
62
|
+
"columnsFrom": [
|
|
63
|
+
"user_artifact_id"
|
|
64
|
+
],
|
|
65
|
+
"columnsTo": [
|
|
66
|
+
"id"
|
|
67
|
+
],
|
|
68
|
+
"onDelete": "cascade",
|
|
69
|
+
"onUpdate": "no action"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"compositePrimaryKeys": {},
|
|
73
|
+
"uniqueConstraints": {},
|
|
74
|
+
"checkConstraints": {}
|
|
75
|
+
},
|
|
76
|
+
"artifact_video_generation": {
|
|
77
|
+
"name": "artifact_video_generation",
|
|
78
|
+
"columns": {
|
|
79
|
+
"id": {
|
|
80
|
+
"name": "id",
|
|
81
|
+
"type": "text",
|
|
82
|
+
"primaryKey": true,
|
|
83
|
+
"notNull": true,
|
|
84
|
+
"autoincrement": false
|
|
85
|
+
},
|
|
86
|
+
"user_artifact_id": {
|
|
87
|
+
"name": "user_artifact_id",
|
|
88
|
+
"type": "text",
|
|
89
|
+
"primaryKey": false,
|
|
90
|
+
"notNull": true,
|
|
91
|
+
"autoincrement": false
|
|
92
|
+
},
|
|
93
|
+
"video_status": {
|
|
94
|
+
"name": "video_status",
|
|
95
|
+
"type": "text",
|
|
96
|
+
"primaryKey": false,
|
|
97
|
+
"notNull": false,
|
|
98
|
+
"autoincrement": false,
|
|
99
|
+
"default": "'pending'"
|
|
100
|
+
},
|
|
101
|
+
"video_url": {
|
|
102
|
+
"name": "video_url",
|
|
103
|
+
"type": "text",
|
|
104
|
+
"primaryKey": false,
|
|
105
|
+
"notNull": false,
|
|
106
|
+
"autoincrement": false
|
|
107
|
+
},
|
|
108
|
+
"description": {
|
|
109
|
+
"name": "description",
|
|
110
|
+
"type": "text",
|
|
111
|
+
"primaryKey": false,
|
|
112
|
+
"notNull": false,
|
|
113
|
+
"autoincrement": false
|
|
114
|
+
},
|
|
115
|
+
"duration": {
|
|
116
|
+
"name": "duration",
|
|
117
|
+
"type": "integer",
|
|
118
|
+
"primaryKey": false,
|
|
119
|
+
"notNull": false,
|
|
120
|
+
"autoincrement": false
|
|
121
|
+
},
|
|
122
|
+
"created_at": {
|
|
123
|
+
"name": "created_at",
|
|
124
|
+
"type": "integer",
|
|
125
|
+
"primaryKey": false,
|
|
126
|
+
"notNull": true,
|
|
127
|
+
"autoincrement": false,
|
|
128
|
+
"default": "CURRENT_TIMESTAMP"
|
|
129
|
+
},
|
|
130
|
+
"updated_at": {
|
|
131
|
+
"name": "updated_at",
|
|
132
|
+
"type": "integer",
|
|
133
|
+
"primaryKey": false,
|
|
134
|
+
"notNull": true,
|
|
135
|
+
"autoincrement": false,
|
|
136
|
+
"default": "CURRENT_TIMESTAMP"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"indexes": {
|
|
140
|
+
"artifact_video_generation_status_idx": {
|
|
141
|
+
"name": "artifact_video_generation_status_idx",
|
|
142
|
+
"columns": [
|
|
143
|
+
"video_status"
|
|
144
|
+
],
|
|
145
|
+
"isUnique": false
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"foreignKeys": {
|
|
149
|
+
"artifact_video_generation_user_artifact_id_user_artifacts_id_fk": {
|
|
150
|
+
"name": "artifact_video_generation_user_artifact_id_user_artifacts_id_fk",
|
|
151
|
+
"tableFrom": "artifact_video_generation",
|
|
152
|
+
"tableTo": "user_artifacts",
|
|
153
|
+
"columnsFrom": [
|
|
154
|
+
"user_artifact_id"
|
|
155
|
+
],
|
|
156
|
+
"columnsTo": [
|
|
157
|
+
"id"
|
|
158
|
+
],
|
|
159
|
+
"onDelete": "cascade",
|
|
160
|
+
"onUpdate": "no action"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"compositePrimaryKeys": {},
|
|
164
|
+
"uniqueConstraints": {},
|
|
165
|
+
"checkConstraints": {}
|
|
166
|
+
},
|
|
7
167
|
"artifacts": {
|
|
8
168
|
"name": "artifacts",
|
|
9
169
|
"columns": {
|
|
@@ -66,6 +226,13 @@
|
|
|
66
226
|
}
|
|
67
227
|
},
|
|
68
228
|
"indexes": {
|
|
229
|
+
"artifacts_slug_unique": {
|
|
230
|
+
"name": "artifacts_slug_unique",
|
|
231
|
+
"columns": [
|
|
232
|
+
"slug"
|
|
233
|
+
],
|
|
234
|
+
"isUnique": true
|
|
235
|
+
},
|
|
69
236
|
"artifacts_concept_id_idx": {
|
|
70
237
|
"name": "artifacts_concept_id_idx",
|
|
71
238
|
"columns": [
|
|
@@ -93,6 +260,101 @@
|
|
|
93
260
|
"uniqueConstraints": {},
|
|
94
261
|
"checkConstraints": {}
|
|
95
262
|
},
|
|
263
|
+
"astro_aspects": {
|
|
264
|
+
"name": "astro_aspects",
|
|
265
|
+
"columns": {
|
|
266
|
+
"id": {
|
|
267
|
+
"name": "id",
|
|
268
|
+
"type": "text",
|
|
269
|
+
"primaryKey": true,
|
|
270
|
+
"notNull": true,
|
|
271
|
+
"autoincrement": false
|
|
272
|
+
},
|
|
273
|
+
"user_id": {
|
|
274
|
+
"name": "user_id",
|
|
275
|
+
"type": "text",
|
|
276
|
+
"primaryKey": false,
|
|
277
|
+
"notNull": true,
|
|
278
|
+
"autoincrement": false
|
|
279
|
+
},
|
|
280
|
+
"aspecting_planet": {
|
|
281
|
+
"name": "aspecting_planet",
|
|
282
|
+
"type": "text",
|
|
283
|
+
"primaryKey": false,
|
|
284
|
+
"notNull": true,
|
|
285
|
+
"autoincrement": false
|
|
286
|
+
},
|
|
287
|
+
"aspected_planet": {
|
|
288
|
+
"name": "aspected_planet",
|
|
289
|
+
"type": "text",
|
|
290
|
+
"primaryKey": false,
|
|
291
|
+
"notNull": true,
|
|
292
|
+
"autoincrement": false
|
|
293
|
+
},
|
|
294
|
+
"aspecting_planet_id": {
|
|
295
|
+
"name": "aspecting_planet_id",
|
|
296
|
+
"type": "integer",
|
|
297
|
+
"primaryKey": false,
|
|
298
|
+
"notNull": true,
|
|
299
|
+
"autoincrement": false
|
|
300
|
+
},
|
|
301
|
+
"aspected_planet_id": {
|
|
302
|
+
"name": "aspected_planet_id",
|
|
303
|
+
"type": "integer",
|
|
304
|
+
"primaryKey": false,
|
|
305
|
+
"notNull": true,
|
|
306
|
+
"autoincrement": false
|
|
307
|
+
},
|
|
308
|
+
"type": {
|
|
309
|
+
"name": "type",
|
|
310
|
+
"type": "text",
|
|
311
|
+
"primaryKey": false,
|
|
312
|
+
"notNull": true,
|
|
313
|
+
"autoincrement": false
|
|
314
|
+
},
|
|
315
|
+
"orb": {
|
|
316
|
+
"name": "orb",
|
|
317
|
+
"type": "real",
|
|
318
|
+
"primaryKey": false,
|
|
319
|
+
"notNull": true,
|
|
320
|
+
"autoincrement": false
|
|
321
|
+
},
|
|
322
|
+
"diff": {
|
|
323
|
+
"name": "diff",
|
|
324
|
+
"type": "real",
|
|
325
|
+
"primaryKey": false,
|
|
326
|
+
"notNull": true,
|
|
327
|
+
"autoincrement": false
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"indexes": {
|
|
331
|
+
"astro_aspects_user_id_idx": {
|
|
332
|
+
"name": "astro_aspects_user_id_idx",
|
|
333
|
+
"columns": [
|
|
334
|
+
"user_id"
|
|
335
|
+
],
|
|
336
|
+
"isUnique": false
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"foreignKeys": {
|
|
340
|
+
"astro_aspects_user_id_users_id_fk": {
|
|
341
|
+
"name": "astro_aspects_user_id_users_id_fk",
|
|
342
|
+
"tableFrom": "astro_aspects",
|
|
343
|
+
"tableTo": "users",
|
|
344
|
+
"columnsFrom": [
|
|
345
|
+
"user_id"
|
|
346
|
+
],
|
|
347
|
+
"columnsTo": [
|
|
348
|
+
"id"
|
|
349
|
+
],
|
|
350
|
+
"onDelete": "cascade",
|
|
351
|
+
"onUpdate": "no action"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
"compositePrimaryKeys": {},
|
|
355
|
+
"uniqueConstraints": {},
|
|
356
|
+
"checkConstraints": {}
|
|
357
|
+
},
|
|
96
358
|
"astro_features": {
|
|
97
359
|
"name": "astro_features",
|
|
98
360
|
"columns": {
|
|
@@ -142,7 +404,7 @@
|
|
|
142
404
|
"name": "order",
|
|
143
405
|
"type": "integer",
|
|
144
406
|
"primaryKey": false,
|
|
145
|
-
"notNull":
|
|
407
|
+
"notNull": false,
|
|
146
408
|
"autoincrement": false
|
|
147
409
|
},
|
|
148
410
|
"prominent_id": {
|
|
@@ -569,7 +831,15 @@
|
|
|
569
831
|
"name": "created_at",
|
|
570
832
|
"type": "integer",
|
|
571
833
|
"primaryKey": false,
|
|
572
|
-
"notNull":
|
|
834
|
+
"notNull": true,
|
|
835
|
+
"autoincrement": false,
|
|
836
|
+
"default": "CURRENT_TIMESTAMP"
|
|
837
|
+
},
|
|
838
|
+
"updated_at": {
|
|
839
|
+
"name": "updated_at",
|
|
840
|
+
"type": "integer",
|
|
841
|
+
"primaryKey": false,
|
|
842
|
+
"notNull": true,
|
|
573
843
|
"autoincrement": false,
|
|
574
844
|
"default": "CURRENT_TIMESTAMP"
|
|
575
845
|
}
|
|
@@ -616,7 +886,7 @@
|
|
|
616
886
|
"name": "user_id",
|
|
617
887
|
"type": "text",
|
|
618
888
|
"primaryKey": false,
|
|
619
|
-
"notNull":
|
|
889
|
+
"notNull": false,
|
|
620
890
|
"autoincrement": false
|
|
621
891
|
},
|
|
622
892
|
"artifact_id": {
|
|
@@ -626,6 +896,13 @@
|
|
|
626
896
|
"notNull": false,
|
|
627
897
|
"autoincrement": false
|
|
628
898
|
},
|
|
899
|
+
"archetype_index": {
|
|
900
|
+
"name": "archetype_index",
|
|
901
|
+
"type": "integer",
|
|
902
|
+
"primaryKey": false,
|
|
903
|
+
"notNull": false,
|
|
904
|
+
"autoincrement": false
|
|
905
|
+
},
|
|
629
906
|
"user_artifact_id": {
|
|
630
907
|
"name": "user_artifact_id",
|
|
631
908
|
"type": "text",
|
|
@@ -633,6 +910,13 @@
|
|
|
633
910
|
"notNull": false,
|
|
634
911
|
"autoincrement": false
|
|
635
912
|
},
|
|
913
|
+
"gender": {
|
|
914
|
+
"name": "gender",
|
|
915
|
+
"type": "text",
|
|
916
|
+
"primaryKey": false,
|
|
917
|
+
"notNull": false,
|
|
918
|
+
"autoincrement": false
|
|
919
|
+
},
|
|
636
920
|
"concept_combination_id": {
|
|
637
921
|
"name": "concept_combination_id",
|
|
638
922
|
"type": "text",
|
|
@@ -666,7 +950,7 @@
|
|
|
666
950
|
"name": "created_at",
|
|
667
951
|
"type": "integer",
|
|
668
952
|
"primaryKey": false,
|
|
669
|
-
"notNull":
|
|
953
|
+
"notNull": true,
|
|
670
954
|
"autoincrement": false,
|
|
671
955
|
"default": "CURRENT_TIMESTAMP"
|
|
672
956
|
},
|
|
@@ -674,7 +958,7 @@
|
|
|
674
958
|
"name": "updated_at",
|
|
675
959
|
"type": "integer",
|
|
676
960
|
"primaryKey": false,
|
|
677
|
-
"notNull":
|
|
961
|
+
"notNull": true,
|
|
678
962
|
"autoincrement": false,
|
|
679
963
|
"default": "CURRENT_TIMESTAMP"
|
|
680
964
|
}
|
|
@@ -693,6 +977,13 @@
|
|
|
693
977
|
"concept_combination_id"
|
|
694
978
|
],
|
|
695
979
|
"isUnique": false
|
|
980
|
+
},
|
|
981
|
+
"generations_archetype_index_idx": {
|
|
982
|
+
"name": "generations_archetype_index_idx",
|
|
983
|
+
"columns": [
|
|
984
|
+
"archetype_index"
|
|
985
|
+
],
|
|
986
|
+
"isUnique": false
|
|
696
987
|
}
|
|
697
988
|
},
|
|
698
989
|
"foreignKeys": {
|
|
@@ -786,7 +1077,15 @@
|
|
|
786
1077
|
},
|
|
787
1078
|
"created_at": {
|
|
788
1079
|
"name": "created_at",
|
|
789
|
-
"type": "
|
|
1080
|
+
"type": "integer",
|
|
1081
|
+
"primaryKey": false,
|
|
1082
|
+
"notNull": true,
|
|
1083
|
+
"autoincrement": false,
|
|
1084
|
+
"default": "CURRENT_TIMESTAMP"
|
|
1085
|
+
},
|
|
1086
|
+
"updated_at": {
|
|
1087
|
+
"name": "updated_at",
|
|
1088
|
+
"type": "integer",
|
|
790
1089
|
"primaryKey": false,
|
|
791
1090
|
"notNull": true,
|
|
792
1091
|
"autoincrement": false,
|
|
@@ -845,6 +1144,13 @@
|
|
|
845
1144
|
"notNull": true,
|
|
846
1145
|
"autoincrement": false
|
|
847
1146
|
},
|
|
1147
|
+
"user_concept_id": {
|
|
1148
|
+
"name": "user_concept_id",
|
|
1149
|
+
"type": "text",
|
|
1150
|
+
"primaryKey": false,
|
|
1151
|
+
"notNull": true,
|
|
1152
|
+
"autoincrement": false
|
|
1153
|
+
},
|
|
848
1154
|
"artifact_id": {
|
|
849
1155
|
"name": "artifact_id",
|
|
850
1156
|
"type": "text",
|
|
@@ -859,13 +1165,27 @@
|
|
|
859
1165
|
"notNull": true,
|
|
860
1166
|
"autoincrement": false
|
|
861
1167
|
},
|
|
862
|
-
"
|
|
863
|
-
"name": "
|
|
1168
|
+
"archetype_index": {
|
|
1169
|
+
"name": "archetype_index",
|
|
864
1170
|
"type": "text",
|
|
865
1171
|
"primaryKey": false,
|
|
866
1172
|
"notNull": true,
|
|
867
1173
|
"autoincrement": false
|
|
868
1174
|
},
|
|
1175
|
+
"post_image_id": {
|
|
1176
|
+
"name": "post_image_id",
|
|
1177
|
+
"type": "text",
|
|
1178
|
+
"primaryKey": false,
|
|
1179
|
+
"notNull": false,
|
|
1180
|
+
"autoincrement": false
|
|
1181
|
+
},
|
|
1182
|
+
"reel_image_id": {
|
|
1183
|
+
"name": "reel_image_id",
|
|
1184
|
+
"type": "text",
|
|
1185
|
+
"primaryKey": false,
|
|
1186
|
+
"notNull": false,
|
|
1187
|
+
"autoincrement": false
|
|
1188
|
+
},
|
|
869
1189
|
"post_image_url": {
|
|
870
1190
|
"name": "post_image_url",
|
|
871
1191
|
"type": "text",
|
|
@@ -906,7 +1226,7 @@
|
|
|
906
1226
|
"name": "created_at",
|
|
907
1227
|
"type": "integer",
|
|
908
1228
|
"primaryKey": false,
|
|
909
|
-
"notNull":
|
|
1229
|
+
"notNull": true,
|
|
910
1230
|
"autoincrement": false,
|
|
911
1231
|
"default": "CURRENT_TIMESTAMP"
|
|
912
1232
|
},
|
|
@@ -914,7 +1234,7 @@
|
|
|
914
1234
|
"name": "updated_at",
|
|
915
1235
|
"type": "integer",
|
|
916
1236
|
"primaryKey": false,
|
|
917
|
-
"notNull":
|
|
1237
|
+
"notNull": true,
|
|
918
1238
|
"autoincrement": false,
|
|
919
1239
|
"default": "CURRENT_TIMESTAMP"
|
|
920
1240
|
}
|
|
@@ -956,6 +1276,19 @@
|
|
|
956
1276
|
"onDelete": "cascade",
|
|
957
1277
|
"onUpdate": "no action"
|
|
958
1278
|
},
|
|
1279
|
+
"user_artifacts_user_concept_id_user_concepts_id_fk": {
|
|
1280
|
+
"name": "user_artifacts_user_concept_id_user_concepts_id_fk",
|
|
1281
|
+
"tableFrom": "user_artifacts",
|
|
1282
|
+
"tableTo": "user_concepts",
|
|
1283
|
+
"columnsFrom": [
|
|
1284
|
+
"user_concept_id"
|
|
1285
|
+
],
|
|
1286
|
+
"columnsTo": [
|
|
1287
|
+
"id"
|
|
1288
|
+
],
|
|
1289
|
+
"onDelete": "cascade",
|
|
1290
|
+
"onUpdate": "no action"
|
|
1291
|
+
},
|
|
959
1292
|
"user_artifacts_artifact_id_artifacts_id_fk": {
|
|
960
1293
|
"name": "user_artifacts_artifact_id_artifacts_id_fk",
|
|
961
1294
|
"tableFrom": "user_artifacts",
|
|
@@ -1009,7 +1342,7 @@
|
|
|
1009
1342
|
"name": "created_at",
|
|
1010
1343
|
"type": "integer",
|
|
1011
1344
|
"primaryKey": false,
|
|
1012
|
-
"notNull":
|
|
1345
|
+
"notNull": true,
|
|
1013
1346
|
"autoincrement": false,
|
|
1014
1347
|
"default": "CURRENT_TIMESTAMP"
|
|
1015
1348
|
},
|
|
@@ -1017,7 +1350,7 @@
|
|
|
1017
1350
|
"name": "updated_at",
|
|
1018
1351
|
"type": "integer",
|
|
1019
1352
|
"primaryKey": false,
|
|
1020
|
-
"notNull":
|
|
1353
|
+
"notNull": true,
|
|
1021
1354
|
"autoincrement": false,
|
|
1022
1355
|
"default": "CURRENT_TIMESTAMP"
|
|
1023
1356
|
}
|
|
@@ -1139,21 +1472,21 @@
|
|
|
1139
1472
|
"name": "day",
|
|
1140
1473
|
"type": "integer",
|
|
1141
1474
|
"primaryKey": false,
|
|
1142
|
-
"notNull":
|
|
1475
|
+
"notNull": true,
|
|
1143
1476
|
"autoincrement": false
|
|
1144
1477
|
},
|
|
1145
1478
|
"month": {
|
|
1146
1479
|
"name": "month",
|
|
1147
1480
|
"type": "integer",
|
|
1148
1481
|
"primaryKey": false,
|
|
1149
|
-
"notNull":
|
|
1482
|
+
"notNull": true,
|
|
1150
1483
|
"autoincrement": false
|
|
1151
1484
|
},
|
|
1152
1485
|
"year": {
|
|
1153
1486
|
"name": "year",
|
|
1154
1487
|
"type": "integer",
|
|
1155
1488
|
"primaryKey": false,
|
|
1156
|
-
"notNull":
|
|
1489
|
+
"notNull": true,
|
|
1157
1490
|
"autoincrement": false
|
|
1158
1491
|
},
|
|
1159
1492
|
"hour": {
|
|
@@ -1174,14 +1507,14 @@
|
|
|
1174
1507
|
"name": "latitude",
|
|
1175
1508
|
"type": "real",
|
|
1176
1509
|
"primaryKey": false,
|
|
1177
|
-
"notNull":
|
|
1510
|
+
"notNull": true,
|
|
1178
1511
|
"autoincrement": false
|
|
1179
1512
|
},
|
|
1180
1513
|
"longitude": {
|
|
1181
1514
|
"name": "longitude",
|
|
1182
1515
|
"type": "real",
|
|
1183
1516
|
"primaryKey": false,
|
|
1184
|
-
"notNull":
|
|
1517
|
+
"notNull": true,
|
|
1185
1518
|
"autoincrement": false
|
|
1186
1519
|
},
|
|
1187
1520
|
"tzone": {
|
|
@@ -1198,18 +1531,26 @@
|
|
|
1198
1531
|
"notNull": false,
|
|
1199
1532
|
"autoincrement": false
|
|
1200
1533
|
},
|
|
1534
|
+
"tiktok_username": {
|
|
1535
|
+
"name": "tiktok_username",
|
|
1536
|
+
"type": "text",
|
|
1537
|
+
"primaryKey": false,
|
|
1538
|
+
"notNull": false,
|
|
1539
|
+
"autoincrement": false
|
|
1540
|
+
},
|
|
1201
1541
|
"credits_balance": {
|
|
1202
1542
|
"name": "credits_balance",
|
|
1203
1543
|
"type": "integer",
|
|
1204
1544
|
"primaryKey": false,
|
|
1205
|
-
"notNull":
|
|
1206
|
-
"autoincrement": false
|
|
1545
|
+
"notNull": true,
|
|
1546
|
+
"autoincrement": false,
|
|
1547
|
+
"default": 0
|
|
1207
1548
|
},
|
|
1208
1549
|
"total_credits_earned": {
|
|
1209
1550
|
"name": "total_credits_earned",
|
|
1210
1551
|
"type": "integer",
|
|
1211
1552
|
"primaryKey": false,
|
|
1212
|
-
"notNull":
|
|
1553
|
+
"notNull": true,
|
|
1213
1554
|
"autoincrement": false,
|
|
1214
1555
|
"default": 0
|
|
1215
1556
|
},
|
|
@@ -1222,7 +1563,15 @@
|
|
|
1222
1563
|
},
|
|
1223
1564
|
"created_at": {
|
|
1224
1565
|
"name": "created_at",
|
|
1225
|
-
"type": "
|
|
1566
|
+
"type": "integer",
|
|
1567
|
+
"primaryKey": false,
|
|
1568
|
+
"notNull": true,
|
|
1569
|
+
"autoincrement": false,
|
|
1570
|
+
"default": "CURRENT_TIMESTAMP"
|
|
1571
|
+
},
|
|
1572
|
+
"updated_at": {
|
|
1573
|
+
"name": "updated_at",
|
|
1574
|
+
"type": "integer",
|
|
1226
1575
|
"primaryKey": false,
|
|
1227
1576
|
"notNull": true,
|
|
1228
1577
|
"autoincrement": false,
|