The working basics
This commit is contained in:
parent
91b427ba58
commit
1a5af29d14
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user