From 6d5364cfb0e39f49afac9b465f37bd19185c3755 Mon Sep 17 00:00:00 2001 From: Ruben Davila Date: Tue, 2 May 2017 23:36:36 -0500 Subject: First round of updates from the code review. --- db/migrate/20170413035209_add_preferred_language_to_users.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'db') diff --git a/db/migrate/20170413035209_add_preferred_language_to_users.rb b/db/migrate/20170413035209_add_preferred_language_to_users.rb index 6fe91656eeb..92f1d6f2436 100644 --- a/db/migrate/20170413035209_add_preferred_language_to_users.rb +++ b/db/migrate/20170413035209_add_preferred_language_to_users.rb @@ -6,10 +6,8 @@ class AddPreferredLanguageToUsers < ActiveRecord::Migration DOWNTIME = false - disable_ddl_transaction! - def up - add_column_with_default :users, :preferred_language, :string, default: 'en' + add_column :users, :preferred_language, :string end def down -- cgit v1.2.1