summaryrefslogtreecommitdiff
path: root/db/migrate/20130617095603_create_users_groups.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20130617095603_create_users_groups.rb')
-rw-r--r--db/migrate/20130617095603_create_users_groups.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/migrate/20130617095603_create_users_groups.rb b/db/migrate/20130617095603_create_users_groups.rb
index 45cff93fe4a..4ba7d0c9461 100644
--- a/db/migrate/20130617095603_create_users_groups.rb
+++ b/db/migrate/20130617095603_create_users_groups.rb
@@ -1,12 +1,14 @@
# rubocop:disable all
class CreateUsersGroups < ActiveRecord::Migration
+ DOWNTIME = false
+
def change
create_table :users_groups do |t|
t.integer :group_access, null: false
t.integer :group_id, null: false
t.integer :user_id, null: false
- t.timestamps
+ t.timestamps null: true
end
end
end