commentaries: migrate columns to non-null.

This commit is contained in:
evazion
2017-06-13 15:23:38 -05:00
parent abb7117996
commit 1aafdc3928
3 changed files with 39 additions and 8 deletions

View File

@@ -603,10 +603,10 @@ ALTER SEQUENCE api_keys_id_seq OWNED BY api_keys.id;
CREATE TABLE artist_commentaries (
id integer NOT NULL,
post_id integer NOT NULL,
original_title text,
original_description text,
translated_title text,
translated_description text,
original_title text DEFAULT ''::text NOT NULL,
original_description text DEFAULT ''::text NOT NULL,
translated_title text DEFAULT ''::text NOT NULL,
translated_description text DEFAULT ''::text NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
@@ -7563,3 +7563,5 @@ INSERT INTO schema_migrations (version) VALUES ('20170526183928');
INSERT INTO schema_migrations (version) VALUES ('20170608043651');
INSERT INTO schema_migrations (version) VALUES ('20170613200356');