Skip to content

Commit

Permalink
not null, default value for whitelisted_email_domains
Browse files Browse the repository at this point in the history
  • Loading branch information
juanignaciosl committed Jun 24, 2015
1 parent b0117b5 commit 8c3c5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20150619141200_organization_signup_migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Rails::Sequel.connection.run(%q{
ALTER TABLE "organizations"
ADD COLUMN whitelisted_email_domains text[]
ADD COLUMN whitelisted_email_domains text[] NOT NULL DEFAULT ARRAY[]::text[]
})

alter_table :users do
Expand Down

0 comments on commit 8c3c5b6

Please sign in to comment.