Sha256: e41552f4a069166f359fd3a2be5d3dde5925ec558614946c916d9d074f87d676

Contents?: true

Size: 427 Bytes

Versions: 15

Compression:

Stored size: 427 Bytes

Contents

class CreateI18nlineTranslations < ActiveRecord::Migration
  def self.up
    create_table :i18nline_translations do |t|
      t.string :locale
      t.string :key
      t.text   :value
      t.text   :interpolations
      t.boolean :is_proc, :default => false

      t.timestamps
    end
    add_index :i18nline_translations, [:locale, :key], unique: true
  end

  def self.down
    drop_table :i18nline_translations
  end
end

Version data entries

15 entries across 13 versions & 2 rubygems

Version Path
i18nline-0.0.15.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.14.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.12.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.11.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.10.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.8.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.7.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.6.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-rails-0.0.5.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.5.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.4.alpha lib/generators/i18nline/templates/migrations/create_i18nline_translations.rb
i18nline-0.0.4.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.3.alpha lib/generators/i18nline/templates/migrations/create_i18nline_translations.rb
i18nline-0.0.3.alpha db/migrate/20131112155848_create_i18nline_translations.rb
i18nline-0.0.2.alpha db/migrate/20131112155848_create_i18nline_translations.rb