Permalink
Browse files

Fixing migration on heroku

  • Loading branch information...
1 parent a24e0d5 commit 1514ec145a7f6039bd98a57d3308915cad2b93ee @joshe committed Aug 19, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −8 db/migrate/20110816031629_kill_join_events_table_and_add_events_users_table.rb
@@ -1,6 +1,5 @@
class KillJoinEventsTableAndAddEventsUsersTable < ActiveRecord::Migration
def self.up
- drop_table :join_events
create_table :events_users, :id => false do |t|
t.integer "event_id"
t.integer "user_id"
@@ -9,13 +8,6 @@ def self.up
end
def self.down
- remove_index :events_users, ["event_id", "user_id"]
drop_table :events_users
- create_table :join_events do |t|
- t.references :user
- t.references :event
-
- t.timestamps
- end
end
end

0 comments on commit 1514ec1

Please sign in to comment.