Sha256: 3d8e3531771619ad59d650ece1869905aa82079eedfb95cc2650decb3e428eef

Contents?: true

Size: 345 Bytes

Versions: 12

Compression:

Stored size: 345 Bytes

Contents

class CreateTranslations < ActiveRecord::Migration
  def up
    create_table :translations do |t|
      t.string :locale
      t.string :key
      t.text   :value
      t.text   :interpolations
      t.boolean :is_proc, :default => false
      t.boolean :stale, :default => false
    end
  end

  def down
    drop_table :translations
  end
end

Version data entries

12 entries across 6 versions & 1 rubygems

Version Path
interpret-1.1.2 test_app/db/migrate/20111108094455_create_translations.rb
interpret-1.1.2 db/migrate/20111108094329_create_translations.rb
interpret-1.1.1 db/migrate/20111108094329_create_translations.rb
interpret-1.1.1 test_app/db/migrate/20111108094455_create_translations.rb
interpret-1.1.0 db/migrate/20111108094329_create_translations.rb
interpret-1.1.0 test_app/db/migrate/20111108094455_create_translations.rb
interpret-1.0.2 db/migrate/20111108094329_create_translations.rb
interpret-1.0.2 test_app/db/migrate/20111108094455_create_translations.rb
interpret-1.0.1 test_app/db/migrate/20111108094455_create_translations.rb
interpret-1.0.1 db/migrate/20111108094329_create_translations.rb
interpret-1.0.0 db/migrate/20111108094329_create_translations.rb
interpret-1.0.0 test_app/db/migrate/20111108094455_create_translations.rb