Sha256: fd9da4b93f80c57767ecfa44c3ce7d5b833f9a06cde17d66ea31f874a97f4652

Contents?: true

Size: 379 Bytes

Versions: 33

Compression:

Stored size: 379 Bytes

Contents

class CreateWeelerTranslations < ActiveRecord::Migration
  def change
    create_table :weeler_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 :weeler_translations, :locale
    add_index :weeler_translations, :key
  end
end

Version data entries

33 entries across 18 versions & 1 rubygems

Version Path
weeler-2.1.0 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-2.0.1 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-2.0.0 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-1.6.0 spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb
weeler-1.6.0 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-1.5.4 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-1.5.4 spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb
weeler-1.5.2 spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb
weeler-1.5.2 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-1.5.1 spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb
weeler-1.5.1 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-1.4.0 spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb
weeler-1.4.0 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-1.2.0 spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb
weeler-1.2.0 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-1.1.0 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-1.1.0 spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb
weeler-1.0.4 spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb
weeler-1.0.4 lib/generators/weeler/templates/migrations/create_weeler_translations.rb
weeler-1.0.3 spec/dummy/db/migrate/20140123083706_create_weeler_translations.rb