You've already forked gun-manager-backend
commit
This commit is contained in:
24
sql/schema.sql
Normal file
24
sql/schema.sql
Normal 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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user