Add status string attribute to games
This commit is contained in:
parent
30a69fbca0
commit
1278f38814
@ -1,6 +1,6 @@
|
||||
%p
|
||||
%b Status:
|
||||
= @status
|
||||
= @game.status
|
||||
|
||||
%p
|
||||
%b Title:
|
||||
|
||||
5
db/migrate/20150409113625_add_status_to_games.rb
Normal file
5
db/migrate/20150409113625_add_status_to_games.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class AddStatusToGames < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :games, :status, :string
|
||||
end
|
||||
end
|
||||
@ -20,6 +20,7 @@ ActiveRecord::Schema.define(version: 20150104203850) do
|
||||
t.string "title"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.string "status"
|
||||
end
|
||||
|
||||
create_table "player_cards", force: true do |t|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user