summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-31 15:56:15 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-01-13 11:34:57 -0500
commit6ae39c2cd1edcc845136739d42baf032120e3ddc (patch)
tree93f2a7b573999151a7a897a644d15b442841c4d5 /db
parent7e24c5c45afe1ada044a782f27d3f3413043b1e6 (diff)
downloadgitlab-ce-6ae39c2cd1edcc845136739d42baf032120e3ddc.tar.gz
Remove alert_type attribute from BroadcastMessage
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20151231202530_remove_alert_type_from_broadcast_messages.rb5
-rw-r--r--db/schema.rb1
2 files changed, 5 insertions, 1 deletions
diff --git a/db/migrate/20151231202530_remove_alert_type_from_broadcast_messages.rb b/db/migrate/20151231202530_remove_alert_type_from_broadcast_messages.rb
new file mode 100644
index 00000000000..78fdfeaf5cf
--- /dev/null
+++ b/db/migrate/20151231202530_remove_alert_type_from_broadcast_messages.rb
@@ -0,0 +1,5 @@
+class RemoveAlertTypeFromBroadcastMessages < ActiveRecord::Migration
+ def change
+ remove_column :broadcast_messages, :alert_type, :integer
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index ecbe575bf83..42c3e79f9d7 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -82,7 +82,6 @@ ActiveRecord::Schema.define(version: 20160113111034) do
t.text "message", null: false
t.datetime "starts_at"
t.datetime "ends_at"
- t.integer "alert_type"
t.datetime "created_at"
t.datetime "updated_at"
t.string "color"