add custom_domain (default to NULL) to schema

This commit is contained in:
Igor Galić
2019-05-22 14:29:52 +01:00
committed by Igor Galić
parent fb60236a54
commit 6bcc4f0ab0
6 changed files with 197 additions and 76 deletions
@@ -0,0 +1,2 @@
-- undo the adding of custom_domain column to blogs table.
ALTER TABLE blogs DROP COLUMN custom_domain;
@@ -0,0 +1,2 @@
--- Adding custom domain to Blog as an optional field
ALTER TABLE blogs ADD COLUMN custom_domain VARCHAR DEFAULT NULL UNIQUE;