From aa7d68a00cbe9d7d3733f4cd02061d4586af061c Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Tue, 19 Mar 2024 02:21:54 +0000
Subject: refactor: Change asset storage to be the filesystem instead of sqlite

---
 packages/db/drizzle/0012_noisy_grim_reaper.sql | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 packages/db/drizzle/0012_noisy_grim_reaper.sql

(limited to 'packages/db/drizzle/0012_noisy_grim_reaper.sql')

diff --git a/packages/db/drizzle/0012_noisy_grim_reaper.sql b/packages/db/drizzle/0012_noisy_grim_reaper.sql
new file mode 100644
index 00000000..edb44983
--- /dev/null
+++ b/packages/db/drizzle/0012_noisy_grim_reaper.sql
@@ -0,0 +1,9 @@
+CREATE TABLE `bookmarkAssets2` (
+	`id` text PRIMARY KEY NOT NULL,
+	`assetType` text NOT NULL,
+	`assetId` text NOT NULL,
+	FOREIGN KEY (`id`) REFERENCES `bookmarks`(`id`) ON UPDATE no action ON DELETE cascade
+);
+--> statement-breakpoint
+DROP TABLE `assets`;--> statement-breakpoint
+DROP TABLE `bookmarkAssets`;
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

