Sha256: 82cd9ea6cece20d647296dc55b058a7ae39859814239e68b7d0de753f3e5d064

Contents?: true

Size: 274 Bytes

Versions: 4

Compression:

Stored size: 274 Bytes

Contents

class CreateVoltronTranslations < ActiveRecord::Migration
  def change
    create_table :voltron_translations do |t|
      t.integer :resource_id
      t.string :resource_type
      t.string :attribute_name
      t.string :locale
      t.text :translation
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
voltron-translate-0.2.1 lib/generators/templates/db/migrate/create_voltron_translations.rb
voltron-translate-0.2.3 lib/generators/templates/db/migrate/create_voltron_translations.rb
voltron-translate-0.2.0 lib/generators/templates/db/migrate/create_voltron_translations.rb
voltron-translate-0.2.2 lib/generators/templates/db/migrate/create_voltron_translations.rb