prank color migration
This commit is contained in:
parent
58c9d6cfab
commit
49a901abfb
2 changed files with 7 additions and 1 deletions
5
db/migrate/20140125202515_add_prank_to_colors.rb
Normal file
5
db/migrate/20140125202515_add_prank_to_colors.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddPrankToColors < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :colors, :prank, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue