Sha256: 53149241ca9680997b7fad8ab973dbb2c70852383e4356327ef0253e4d62d2da
Contents?: true
Size: 609 Bytes
Versions: 19
Compression:
Stored size: 609 Bytes
Contents
class LitCreateLitLocalizationVersions < Rails::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration def up return if table_exists?(:lit_localization_versions) create_table :lit_localization_versions do |t| t.text :translated_value t.integer :localization_id t.timestamps end add_index :lit_localization_versions, :localization_id end def down remove_index :lit_localization_versions, :localization_id drop_table :lit_localization_versions end end
Version data entries
19 entries across 19 versions & 2 rubygems