Burn it all to the ground and start with bun and a reorg
This commit is contained in:
18
drizzle/0000_harsh_toad_men.sql
Normal file
18
drizzle/0000_harsh_toad_men.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
CREATE TABLE `photo` (
|
||||
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
`src` text(256) NOT NULL,
|
||||
`width` integer NOT NULL,
|
||||
`height` integer NOT NULL,
|
||||
`blur` blob NOT NULL,
|
||||
`camera` text(128),
|
||||
`title` text(128),
|
||||
`description` text(1024),
|
||||
`exposureBiasValue` integer,
|
||||
`fNumber` real,
|
||||
`isoSpeedRatings` integer,
|
||||
`focalLength` integer,
|
||||
`takenAt` integer,
|
||||
`lensModel` text(128)
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE UNIQUE INDEX `photo_src_unique` ON `photo` (`src`);
|
||||
Reference in New Issue
Block a user