Lootaherra

This commit is contained in:
Jani Pulkkinen
2025-05-29 20:33:15 +03:00
parent b30ddcc402
commit 0756da8b7b
8 changed files with 207 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
-- This file should undo anything in `up.sql`
drop table loota_admin;
drop table loota_customer;
drop table loota_order;
drop table loota_box;

View File

@@ -1,4 +1,11 @@
-- Lootakalenteri migration tables
create table loota_admin
(
id uuid primary key not null default gen_random_uuid(),
identifier varchar not null,
created_time timestamp with time zone not null default now()
);
create table loota_customer
(
id uuid primary key not null default gen_random_uuid(),