Drizzle-ORM setup
This commit is contained in:
8
api/drizzle/0000_spooky_dormammu.sql
Normal file
8
api/drizzle/0000_spooky_dormammu.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE `products` (
|
||||
`id` int AUTO_INCREMENT NOT NULL,
|
||||
`name` varchar(255) NOT NULL,
|
||||
`description` text,
|
||||
`image` varchar(255),
|
||||
`price` double NOT NULL,
|
||||
CONSTRAINT `products_id` PRIMARY KEY(`id`)
|
||||
);
|
||||
Reference in New Issue
Block a user