Sha256: d6711133a4aeebdb1b2eb0eb772977086831ad20fd062a8ea67d9461a1ab7705

Contents?: true

Size: 335 Bytes

Versions: 7

Compression:

Stored size: 335 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
  def change
    create_table :<%= table_name %> do |t|
      t.string :locale
      t.string :key
      t.text :value
      t.text :interpolations
      t.boolean :is_proc, default: false

      t.timestamps
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/i18n-active_record-1.3.0/lib/generators/i18n/active_record/templates/migration.rb.erb
i18n-active_record-1.3.0 lib/generators/i18n/active_record/templates/migration.rb.erb
i18n-active_record-1.2.0 lib/generators/i18n/active_record/templates/migration.rb.erb
i18n-active_record-1.1.0 lib/generators/i18n/active_record/templates/migration.rb.erb
i18n-active_record-1.0.1 lib/generators/i18n/active_record/templates/migration.rb.erb
i18n-active_record-1.0.0 lib/generators/i18n/active_record/templates/migration.rb.erb
i18n-active_record-0.4.1 lib/generators/i18n/active_record/templates/migration.rb.erb