Sha256: 9acdcd620f993ad67c5bf1c4097e763e8a27837ef83753a685c1a46e0cd439a7

Contents?: true

Size: 357 Bytes

Versions: 16

Compression:

Stored size: 357 Bytes

Contents

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

  def self.down
    drop_table :globalize_translations
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
exvo_globalize-0.6.0 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.5.6 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.5.5 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.5.4 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.5.3 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.5.2 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.5.1 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.5.0 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.4.0 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.3.2 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.3.1 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.3.0 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.2.1 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.2.0 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.1.0 lib/generators/exvo_globalize/templates/migration.rb
exvo_globalize-0.0.2 lib/generators/exvo_globalize/templates/migration.rb