7 lines
232 B
MySQL
7 lines
232 B
MySQL
|
ALTER TABLE IF EXISTS api.records
|
||
|
ADD CONSTRAINT created_at_not_null
|
||
|
CHECK (created_at IS NOT NULL) NOT VALID;
|
||
|
|
||
|
ALTER TABLE IF EXISTS api.records
|
||
|
ADD CONSTRAINT updated_at_not_null
|
||
|
CHECK (updated_at IS NOT NULL) NOT VALID;
|