Sha256: eebd19054693f2b5ff7cb44d8e255653d562959195010b01a2d4843e68386b71

Contents?: true

Size: 594 Bytes

Versions: 42

Compression:

Stored size: 594 Bytes

Contents

class CreateHandlerTranslations < BazaMigrations::Migration
  def change
    create_table :handler_translations do |t|
      t.belongs_to :handler
      t.belongs_to :translation_key
      t.belongs_to :group
      t.string :key_show
      t.string :file_path
      t.integer :line_no
      t.string :full_path
      t.string :dir
      t.string :default
      t.timestamps
    end

    add_index :handler_translations, :handler_id
    add_index :handler_translations, :translation_key_id
    add_index :handler_translations, :group_id
    add_index :handler_translations, :file_path
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
awesome_translations-0.0.66 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.65 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.64 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.63 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.62 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.61 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.60 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.59 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.58 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.57 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.56 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.55 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.54 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.53 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.52 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.51 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.50 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.49 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.48 db/baza_translations_migrations/20150908090800_create_handler_translations.rb
awesome_translations-0.0.47 db/baza_translations_migrations/20150908090800_create_handler_translations.rb