OpenMediaCenter/apiGo/database/migrations/20211001195845_width_height.sql

12 lines
233 B
MySQL
Raw Permalink Normal View History

2021-10-24 13:22:14 +00:00
-- +goose Up
-- +goose StatementBegin
alter table videos
add previewratio FLOAT default -1.0 null;
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
alter table videos
drop previewratio;
-- +goose StatementEnd