summaryrefslogtreecommitdiffstats
path: root/drizzle/0001_brief_mandrill.sql
diff options
context:
space:
mode:
authorAlberto Duarte Delgado <alberto@albertoduarte.com>2026-04-01 00:56:41 +0100
committerAlberto Duarte Delgado <alberto@albertoduarte.com>2026-04-01 00:56:41 +0100
commitbd4a70dab890153617cad4e0be1364941993d51d (patch)
tree5242c256c3e96f8768b29907716fb1274eb9c1fb /drizzle/0001_brief_mandrill.sql
parentdac9dc1ae6b3531c93801360147100950a103692 (diff)
firestore rules y logica de cancelación de reservas
Diffstat (limited to 'drizzle/0001_brief_mandrill.sql')
-rw-r--r--drizzle/0001_brief_mandrill.sql16
1 files changed, 0 insertions, 16 deletions
diff --git a/drizzle/0001_brief_mandrill.sql b/drizzle/0001_brief_mandrill.sql
deleted file mode 100644
index 0866313..0000000
--- a/drizzle/0001_brief_mandrill.sql
+++ /dev/null
@@ -1,16 +0,0 @@
-CREATE TABLE `categorias` (
- `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
- `nombre` text NOT NULL
-);
---> statement-breakpoint
-CREATE UNIQUE INDEX `categorias_nombre_unique` ON `categorias` (`nombre`);--> statement-breakpoint
-CREATE TABLE `productos` (
- `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
- `nombre` text NOT NULL,
- `stock` integer,
- `precio` real,
- `categoria_id` integer,
- FOREIGN KEY (`categoria_id`) REFERENCES `categorias`(`id`) ON UPDATE no action ON DELETE no action
-);
---> statement-breakpoint
-CREATE UNIQUE INDEX `productos_nombre_unique` ON `productos` (`nombre`); \ No newline at end of file