initial commit

This commit is contained in:
Bartal Laearsson
2026-08-11 20:42:44 +01:00
commit d9a0cd749e
27 changed files with 2868 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
create table if not exists inventory (
id serial primary key,
sku text not null unique,
name text not null,
quantity integer not null,
location text not null,
updated_at timestamptz not null default now()
);
alter table inventory replica identity full;
insert into inventory (sku, name, quantity, location) values
('FL-100', 'Archive label rolls', 12, 'Torshavn'),
('FL-220', 'Scanner cleaning kit', 7, 'Klaksvik'),
('FL-330', 'Cold storage boxes', 18, 'Runavik')
on conflict (sku) do nothing;