|
@ -1,5 +1,5 @@ |
|
|
class CreateTranslations < ActiveRecord::Migration |
|
|
class CreateTranslations < ActiveRecord::Migration |
|
|
def self.up |
|
|
def change |
|
|
create_table :translations do |t| |
|
|
create_table :translations do |t| |
|
|
t.string :locale |
|
|
t.string :locale |
|
|
t.string :key |
|
|
t.string :key |
|
@ -10,8 +10,4 @@ class CreateTranslations < ActiveRecord::Migration |
|
|
t.timestamps |
|
|
t.timestamps |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def self.down |
|
|
|
|
|
drop_table :translations |
|
|
|
|
|
end |
|
|
|
|
|
end |
|
|
end |
|
|