fp/services/migrations-schema/migrations/00103_add-toy_num.sql

22 lines
609 B
MySQL
Raw Normal View History

2024-12-12 07:23:46 +00:00
ALTER TABLE IF EXISTS api.toys
ADD COLUMN IF NOT EXISTS toy_id_num INT;
ALTER TABLE IF EXISTS api.toys
ADD COLUMN IF NOT EXISTS created_at TIMESTAMP WITHOUT TIME ZONE;
ALTER TABLE IF EXISTS api.toys
ADD COLUMN IF NOT EXISTS updated_at TIMESTAMP WITHOUT TIME ZONE;
ALTER TABLE IF EXISTS api.toys
ADD COLUMN IF NOT EXISTS created_by_id_num INT;
ALTER TABLE IF EXISTS api.toys
ADD COLUMN IF NOT EXISTS updated_by_id_num INT;
ALTER TABLE IF EXISTS api.toys
ADD COLUMN IF NOT EXISTS created_by_id UUID;
ALTER TABLE IF EXISTS api.toys
ADD COLUMN IF NOT EXISTS updated_by_id UUID;