Skip to content

Modern Docker Management, Designed for Everyone

821 B
Raw Blame
-- +goose Up
ALTER TABLE IF EXISTS users_table RENAME TO users;
ALTER TABLE IF EXISTS image_update_table RENAME TO image_updates;
ALTER TABLE IF EXISTS images_table RENAME TO images;
ALTER TABLE IF EXISTS containers_table RENAME TO containers;
ALTER TABLE IF EXISTS networks_table RENAME TO networks;
ALTER TABLE IF EXISTS volumes_table RENAME TO volumes;
ALTER TABLE IF EXISTS stacks_table RENAME TO stacks;

-- +goose Down
ALTER TABLE IF EXISTS users RENAME TO users_table;
ALTER TABLE IF EXISTS image_updates RENAME TO image_update_table;
ALTER TABLE IF EXISTS images RENAME TO images_table;
ALTER TABLE IF EXISTS containers RENAME TO containers_table;
ALTER TABLE IF EXISTS networks RENAME TO networks_table;
ALTER TABLE IF EXISTS volumes RENAME TO volumes_table;
ALTER TABLE IF EXISTS stacks RENAME TO stacks_table;