diff options
Diffstat (limited to 'apps/web/migrations/0001_nervous_longshot.sql')
| -rw-r--r-- | apps/web/migrations/0001_nervous_longshot.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/web/migrations/0001_nervous_longshot.sql b/apps/web/migrations/0001_nervous_longshot.sql new file mode 100644 index 00000000..a15917c6 --- /dev/null +++ b/apps/web/migrations/0001_nervous_longshot.sql @@ -0,0 +1,2 @@ +ALTER TABLE `chatThread` ADD `createdAt` integer; +UPDATE `chatThread` SET `createdAt` = strftime('%s', 'now') WHERE `createdAt` IS NULL; |