summaryrefslogtreecommitdiff
path: root/db/migrate/20140729134820_create_labels.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20140729134820_create_labels.rb')
-rw-r--r--db/migrate/20140729134820_create_labels.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/migrate/20140729134820_create_labels.rb b/db/migrate/20140729134820_create_labels.rb
index df0f8cb9f03..66d20e741a6 100644
--- a/db/migrate/20140729134820_create_labels.rb
+++ b/db/migrate/20140729134820_create_labels.rb
@@ -1,12 +1,14 @@
# rubocop:disable all
class CreateLabels < ActiveRecord::Migration
+ DOWNTIME = false
+
def change
create_table :labels do |t|
t.string :title
t.string :color
t.integer :project_id
- t.timestamps
+ t.timestamps null: true
end
end
end