Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.43 kB
class DropApplications < ActiveRecord::Migration
def self.up
drop_table :applications
remove_column :locales, :application_id
remove_column :phrases, :application_id
end
def self.down
create_table :applications do |t|
t.string :name
t.text :location
t.timestamps
end
add_column :locales, :application_id, :integer
add_column :phrases, :application_id, :integer
end
end
Jump to Line
Something went wrong with that request. Please try again.