Class: CreateTranslationKeys

Inherits:
PeakFlowUtils::ApplicationMigration show all
Defined in:
lib/peak_flow_utils/migrations/20150902155200_create_translation_keys.rb

Instance Method Summary collapse

Methods inherited from PeakFlowUtils::ApplicationMigration

#connection

Instance Method Details

#changeObject



2
3
4
5
6
7
# File 'lib/peak_flow_utils/migrations/20150902155200_create_translation_keys.rb', line 2

def change
  create_table :peak_flow_utils_translation_keys do |t|
    t.string :key, index: true, null: false
    t.timestamps
  end
end