Move adding of files to the repo helper

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent 3d65a09e9b
commit dd912a2fc7

@ -0,0 +1,3 @@
-- Add migration script here
ALTER TABLE thumbnails
ADD COLUMN mime VARCHAR(128);

@ -10,6 +10,7 @@ pub struct Model {
pub hash_id: i64,
pub height: i32,
pub width: i32,
pub mime: Option<String>,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]

Loading…
Cancel
Save