From ab88f59842f180ff0ebc1452c5403244b407b8bd Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sat, 1 Feb 2025 15:57:32 +0000
Subject: feat: Add a new modifiedAt field to bookmarks table. Fixes #952

---
 packages/db/drizzle/0041_fat_bloodstrike.sql | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 packages/db/drizzle/0041_fat_bloodstrike.sql

(limited to 'packages/db/drizzle/0041_fat_bloodstrike.sql')

diff --git a/packages/db/drizzle/0041_fat_bloodstrike.sql b/packages/db/drizzle/0041_fat_bloodstrike.sql
new file mode 100644
index 00000000..3db96cb1
--- /dev/null
+++ b/packages/db/drizzle/0041_fat_bloodstrike.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `bookmarks` ADD `modifiedAt` integer;
+--> statement-breakpoint
+UPDATE `bookmarks` SET `modifiedAt` = `createdAt`;
-- 
cgit v1.2.3-70-g09d2

