Browse Source

The working basics

development
Godwin 10 years ago
parent
commit
1a5af29d14
  1. 6
      db/migrate/20140209021801_create_translations.rb

6
db/migrate/20140209021801_create_translations.rb

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

Loading…
Cancel
Save