This commit is contained in:
2023-08-07 10:14:38 -04:00
parent a30b1769b3
commit 5dd3fa9451
18 changed files with 548 additions and 276 deletions

24
sql/schema.sql Normal file
View File

@@ -0,0 +1,24 @@
create table guns
(
id integer
constraint id
primary key autoincrement,
make text,
model text,
serial_number text,
purchase_amount integer,
value_amount integer,
date_purchased text,
notes text
);
create table photos
(
id integer
constraint id
primary key autoincrement,
gun_id integer,
photo blob,
filename text
);