init
This commit is contained in:
18
backend/migrations/2022-04-12-165834_create_photos/up.sql
Normal file
18
backend/migrations/2022-04-12-165834_create_photos/up.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
CREATE TABLE pictures (
|
||||
id SERIAL PRIMARY KEY,
|
||||
filepath VARCHAR NOT NULL,
|
||||
created_at INTEGER,
|
||||
focal_length VARCHAR,
|
||||
shutter_speed VARCHAR,
|
||||
width INTEGER NOT NULL,
|
||||
height INTEGER NOT NULL,
|
||||
make VARCHAR,
|
||||
model VARCHAR,
|
||||
lens VARCHAR,
|
||||
orientation VARCHAR,
|
||||
fnumber FLOAT,
|
||||
iso INTEGER,
|
||||
exposure_program VARCHAR,
|
||||
exposure_compensation VARCHAR,
|
||||
thumbnail VARCHAR
|
||||
)
|
||||
Reference in New Issue
Block a user