class Autochthon::Backend::ActiveRecord::Migration

Public Instance Methods

change() click to toggle source
# File lib/autochthon/backend/active_record.rb, line 20
def change
  create_table :translations do |t|
    t.string :locale
    t.string :key
    t.text   :value
    t.text   :interpolations
    t.boolean :is_proc, default: false

    t.timestamps null: false
  end
end