11 lines
300 B
MySQL
11 lines
300 B
MySQL
|
ALTER TABLE api.vtubers
|
||
|
ADD COLUMN created_at TIMESTAMP(6) WITHOUT TIME ZONE;
|
||
|
|
||
|
ALTER TABLE api.vtubers
|
||
|
ADD COLUMN updated_at TIMESTAMP(6) WITHOUT TIME ZONE;
|
||
|
|
||
|
ALTER TABLE api.vtubers
|
||
|
ALTER COLUMN created_at SET DEFAULT now();
|
||
|
|
||
|
ALTER TABLE api.vtubers
|
||
|
ALTER COLUMN updated_at SET DEFAULT now();
|