Skip to content
Browse files

repair bug in generator for players table

  • Loading branch information...
1 parent 9ca2cdc commit f44651351d99e7de24dc277e2a08dfa1ed41931d @wizardwerdna committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 generators/pokerstats/templates/create_pokerstats.rhtml
View
4 generators/pokerstats/templates/create_pokerstats.rhtml
@@ -15,13 +15,13 @@ class CreatePokerstats < ActiveRecord::Migration
<%= Pokerstats::HandStatistics.player_statistics_migration_data -%>
t.timestamps
end
- create_table :player do |t|
+ create_table :players do |t|
t.string :name
end
end
def self.down
- drop_table :player
+ drop_table :players
drop_table :player_statistics
drop_table :hand_statistics
end

0 comments on commit f446513

Please sign in to comment.
Something went wrong with that request. Please try again.