1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| ActiveRecord::Schema.define(:version => 0) do
create_table "games", :primary_key => "ID", :force => true do |t|
t.string "Game", :limit => 20, :default => "", :null => false
t.integer "Players", :limit => 10, :null => false
t.integer "Timer", :null => false
t.string "Host", :limit => 20, :default => "", :null => false
end
add_index "games", ["Host"], :name => "Host"
create_table "players", :primary_key => "ID", :force => true do |t|
t.string "Name", :limit => 20, :default => "", :null => false
t.string "City", :limit => 20, :default => ""
t.date "Date of birth"
t.string "Password", :limit => 20, :null => false
end
add_index "players", ["Name"], :name => "Name"
create_table "scores", :primary_key => "ID", :force => true do |t|
t.string "Nom", :limit => 20, :default => "", :null => false
t.integer "Score", :limit => 10, :null => false
t.integer "Players", :limit => 10, :null => false
t.date "Date", :null => false
end
end |
Partager