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.
16 lines
304 B
Ruby
16 lines
304 B
Ruby
class RemovePodStatsTable < ActiveRecord::Migration
|
|
def self.up
|
|
execute 'DROP TABLE pod_stats'
|
|
end
|
|
|
|
def self.down
|
|
create_table :pod_stats do |t|
|
|
t.integer :error_code
|
|
t.integer :person_id
|
|
t.text :error_message
|
|
t.integer :pod_id
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|