···12 `id` integer PRIMARY KEY NOT NULL,
13 `rkey` text NOT NULL,
14 `title` text NOT NULL,
00015 `description` text,
16 `ingredients` text NOT NULL,
17 `steps` text NOT NULL,
···12 `id` integer PRIMARY KEY NOT NULL,
13 `rkey` text NOT NULL,
14 `title` text NOT NULL,
15+ `image_ref` text,
16+ `time` integer DEFAULT 0 NOT NULL,
17+ `serves` integer,
18 `description` text,
19 `ingredients` text NOT NULL,
20 `steps` text NOT NULL,
-1
libs/database/migrations/0001_icy_killmonger.sql
···1-ALTER TABLE `recipes` ADD `time` integer DEFAULT 0 NOT NULL;
···1-DROP INDEX IF EXISTS "recipes_id_unique";--> statement-breakpoint
2-DROP INDEX IF EXISTS "recipes_rkey_author_did_unique";--> statement-breakpoint
3-ALTER TABLE `recipes` ALTER COLUMN "title" TO "title" text;--> statement-breakpoint
4-CREATE UNIQUE INDEX `recipes_id_unique` ON `recipes` (`id`);--> statement-breakpoint
5-CREATE UNIQUE INDEX `recipes_rkey_author_did_unique` ON `recipes` (`rkey`,`author_did`);
···1-DROP INDEX IF EXISTS "recipes_id_unique";--> statement-breakpoint
2-DROP INDEX IF EXISTS "recipes_rkey_author_did_unique";--> statement-breakpoint
3-ALTER TABLE `recipes` ALTER COLUMN "title" TO "title" text NOT NULL;--> statement-breakpoint
4-CREATE UNIQUE INDEX `recipes_id_unique` ON `recipes` (`id`);--> statement-breakpoint
5-CREATE UNIQUE INDEX `recipes_rkey_author_did_unique` ON `recipes` (`rkey`,`author_did`);--> statement-breakpoint
6-ALTER TABLE `recipes` ADD `image_ref` text;