1
0
Fork 0
forked from OpenNeo/impress

prank color migration

This commit is contained in:
Emi Matchu 2014-01-25 14:26:17 -06:00
parent 58c9d6cfab
commit 49a901abfb
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddPrankToColors < ActiveRecord::Migration
def change
add_column :colors, :prank, :boolean, default: false, null: false
end
end

View file

@ -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|