You get problems like: ERROR: permission denied: "RI_ConstraintTrigger_506060" is a system trigger This change is necessary or else nobody will be able to install Diaspora with PostgreSQL.
18 lines
478 B
Ruby
18 lines
478 B
Ruby
class DropMongoRemains < ActiveRecord::Migration
|
|
def self.up
|
|
remove_index :aspects, :mongo_id
|
|
remove_index :comments, :mongo_id
|
|
remove_index :contacts, :mongo_id
|
|
remove_index :invitations, :mongo_id
|
|
remove_index :people, :mongo_id
|
|
remove_index :posts, :mongo_id
|
|
remove_index :profiles, :mongo_id
|
|
remove_index :services, :mongo_id
|
|
remove_index :users, :mongo_id
|
|
|
|
execute 'DROP TABLE mongo_notifications'
|
|
end
|
|
|
|
def self.down
|
|
end
|
|
end
|