Permalink
Browse files

fixing

  • Loading branch information...
1 parent dab14a7 commit 5c76d0a09ff6a4846c1e373c7541040cd7db1aa6 @mfine mfine committed Apr 12, 2012
View
5 db/migrations/001_create_hstore.rb
@@ -1,5 +0,0 @@
-Sequel.migration do
- up do
-# run "create extension hstore"
- end
-end
View
2 db/migrations/002_create_players.rb
@@ -2,7 +2,7 @@
up do
create_table(:players) do
primary_key :id
-# column :attrs, :hstore
+ String :user
end
end
View
3 db/migrations/003_create_results.rb
@@ -2,7 +2,8 @@
up do
create_table(:results) do
primary_key :id
-# column :attrs, :hstore
+ Integer :winner_id
+ Integer :loser_id
end
end
down do

0 comments on commit 5c76d0a

Please sign in to comment.