6 lines
216 B
MySQL
6 lines
216 B
MySQL
|
ALTER TABLE meta_subjects DROP CONSTRAINT either_subject_or_redirect_not_null;
|
||
|
|
||
|
ALTER TABLE meta_subjects ALTER subject DROP NOT NULL;
|
||
|
|
||
|
UPDATE meta_subjects SET subject = NULL WHERE subject = 'invalid:subject.null';
|