Sha256: 3db392d3cf954c89e8618e566ec6436cc35be44653e21271735f1ceca23682c6

Contents?: true

Size: 711 Bytes

Versions: 8

Compression:

Stored size: 711 Bytes

Contents

class CreateLitIncommingLocalizations < ActiveRecord::Migration
  def change
    create_table :lit_incomming_localizations do |t|
      t.text :translated_value
      t.references :locale
      t.references :localization_key
      t.references :localization
      t.string :locale_str
      t.string :localization_key_str
      t.references :source
      t.integer :incomming_id

      t.timestamps
    end
    add_index :lit_incomming_localizations, :locale_id
    add_index :lit_incomming_localizations, :localization_key_id
    add_index :lit_incomming_localizations, :localization_id
    add_index :lit_incomming_localizations, :source_id
    add_index :lit_incomming_localizations, :incomming_id
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lit-0.2.6 db/migrate/20130924151910_create_lit_incomming_localizations.rb
lit-0.2.5 db/migrate/20130924151910_create_lit_incomming_localizations.rb
lit-0.2.4 db/migrate/20130924151910_create_lit_incomming_localizations.rb
lit-0.2.3 db/migrate/20130924151910_create_lit_incomming_localizations.rb
lit-0.2.2 db/migrate/20130924151910_create_lit_incomming_localizations.rb
lit-0.2.1 db/migrate/20130924151910_create_lit_incomming_localizations.rb
lit-0.2.0 db/migrate/20130924151910_create_lit_incomming_localizations.rb
lit-0.1.0 db/migrate/20130924151910_create_lit_incomming_localizations.rb