Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 19 lines (16 sloc) 0.43 kb
f3414113 »
2008-11-24 Move to an app-less setup in preparation for turning Tolk into an app…
1 class DropApplications < ActiveRecord::Migration
2 def self.up
3 drop_table :applications
4 remove_column :locales, :application_id
5 remove_column :phrases, :application_id
6 end
7
8 def self.down
9 create_table :applications do |t|
10 t.string :name
11 t.text :location
12
13 t.timestamps
14 end
15
16 add_column :locales, :application_id, :integer
17 add_column :phrases, :application_id, :integer
18 end
19 end
Something went wrong with that request. Please try again.