/
wax_boy
/
semaphore_custom
Обзор
Документация
Войти
/
wax_boy
/
semaphore_custom
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
db/sql/migrations/v2.2.1.sql
16 строк
438 B
Denis Gukov
fix(be): mariadb migrations
26 окт 2021, 12:36
26 окт 2021, 12:36
852e06f
Код
Авторство
О чём код?
alter table task__output rename to task__output_backup; create table task__output ( id integer primary key autoincrement, task_id int not null, task varchar(255) not null, time datetime not null, output longtext not null, foreign key (`task_id`) references task(`id`) on delete cascade ); insert into task__output(task_id, task, time, output) select * from task__output_backup; drop table task__output_backup;