@zodic/shared 0.0.272 → 0.0.273

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.
@@ -0,0 +1,15 @@
1
+ PRAGMA foreign_keys=OFF;--> statement-breakpoint
2
+ CREATE TABLE `__new_concepts` (
3
+ `id` text PRIMARY KEY NOT NULL,
4
+ `name` text NOT NULL,
5
+ `slug` text NOT NULL,
6
+ `planet1` text NOT NULL,
7
+ `planet2` text NOT NULL,
8
+ `planet3` text NOT NULL
9
+ );
10
+ --> statement-breakpoint
11
+ INSERT INTO `__new_concepts`("id", "name", "slug", "planet1", "planet2", "planet3") SELECT "id", "name", "slug", "planet1", "planet2", "planet3" FROM `concepts`;--> statement-breakpoint
12
+ DROP TABLE `concepts`;--> statement-breakpoint
13
+ ALTER TABLE `__new_concepts` RENAME TO `concepts`;--> statement-breakpoint
14
+ PRAGMA foreign_keys=ON;--> statement-breakpoint
15
+ CREATE INDEX `concepts_name_idx` ON `concepts` (`name`);