gadl/migrations/2_add_title_authors.sql

6 lines
161 B
MySQL
Raw Normal View History

2023-12-24 22:10:01 +09:00
-- migrate:up
2023-11-20 22:56:09 +09:00
alter table books add column title text not null default '';
alter table books add column authors json not null default '[]';
2023-12-24 22:10:01 +09:00
-- migrate:down