|
@@ -6,7 +6,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration
|
|
t.text :description
|
|
t.text :description
|
|
t.text :statement
|
|
t.text :statement
|
|
t.string :data_source
|
|
t.string :data_source
|
|
- t.timestamps
|
|
|
|
|
|
+ t.timestamps null: false
|
|
end
|
|
end
|
|
|
|
|
|
create_table :blazer_audits do |t|
|
|
create_table :blazer_audits do |t|
|
|
@@ -14,20 +14,20 @@ class <%= migration_class_name %> < ActiveRecord::Migration
|
|
t.references :query
|
|
t.references :query
|
|
t.text :statement
|
|
t.text :statement
|
|
t.string :data_source
|
|
t.string :data_source
|
|
- t.timestamp :created_at
|
|
|
|
|
|
+ t.timestamp :created_at, null: false
|
|
end
|
|
end
|
|
|
|
|
|
create_table :blazer_dashboards do |t|
|
|
create_table :blazer_dashboards do |t|
|
|
t.references :creator
|
|
t.references :creator
|
|
t.text :name
|
|
t.text :name
|
|
- t.timestamps
|
|
|
|
|
|
+ t.timestamps null: false
|
|
end
|
|
end
|
|
|
|
|
|
create_table :blazer_dashboard_queries do |t|
|
|
create_table :blazer_dashboard_queries do |t|
|
|
t.references :dashboard
|
|
t.references :dashboard
|
|
t.references :query
|
|
t.references :query
|
|
t.integer :position
|
|
t.integer :position
|
|
- t.timestamps
|
|
|
|
|
|
+ t.timestamps null: false
|
|
end
|
|
end
|
|
|
|
|
|
create_table :blazer_checks do |t|
|
|
create_table :blazer_checks do |t|
|
|
@@ -39,7 +39,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration
|
|
t.string :check_type
|
|
t.string :check_type
|
|
t.text :message
|
|
t.text :message
|
|
t.timestamp :last_run_at
|
|
t.timestamp :last_run_at
|
|
- t.timestamps
|
|
|
|
|
|
+ t.timestamps null: false
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|