diff --git a/db/migrate/20140125202515_add_prank_to_colors.rb b/db/migrate/20140125202515_add_prank_to_colors.rb new file mode 100644 index 00000000..fb432e86 --- /dev/null +++ b/db/migrate/20140125202515_add_prank_to_colors.rb @@ -0,0 +1,5 @@ +class AddPrankToColors < ActiveRecord::Migration + def change + add_column :colors, :prank, :boolean, default: false, null: false + end +end diff --git a/db/schema.rb b/db/schema.rb index a63ce1c5..4e0f5c0a 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20140119040646) do +ActiveRecord::Schema.define(:version => 20140125202515) do create_table "auth_servers", :force => true do |t| t.string "short_name", :limit => 10, :null => false @@ -86,6 +86,7 @@ ActiveRecord::Schema.define(:version => 20140119040646) do create_table "colors", :force => true do |t| t.boolean "basic" t.boolean "standard" + t.boolean "prank", :default => false, :null => false end create_table "contributions", :force => true do |t|