Sha256: 4254c1d1a074074761b930a1d41973fe4538bb70fbebc22fab73671c8ff0b969

Contents?: true

Size: 301 Bytes

Versions: 110

Compression:

Stored size: 301 Bytes

Contents

class AddVersionToApidaeObjs < ActiveRecord::Migration[5.2]
  def change
    add_column :apidae_objs, :version, :string
    add_column :apidae_objs, :root_obj_id, :integer
    add_column :apidae_projects, :versions_data, :string

    Apidae::Obj.update_all(version: Apidae::DEFAULT_VERSION)
  end
end

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
apidae-0.9.10 db/migrate/20190124162543_add_version_to_apidae_objs.rb
apidae-0.9.9 db/migrate/20190124162543_add_version_to_apidae_objs.rb
apidae-0.9.8 db/migrate/20190124162543_add_version_to_apidae_objs.rb
apidae-0.9.7 db/migrate/20190124162543_add_version_to_apidae_objs.rb
apidae-0.9.6 db/migrate/20190124162543_add_version_to_apidae_objs.rb
apidae-0.9.5 db/migrate/20190124162543_add_version_to_apidae_objs.rb
apidae-0.9.4 db/migrate/20190124162543_add_version_to_apidae_objs.rb
apidae-0.9.3 db/migrate/20190124162543_add_version_to_apidae_objs.rb
apidae-0.9.2 db/migrate/20190124162543_add_version_to_apidae_objs.rb
apidae-0.9.1 db/migrate/20190124162543_add_version_to_apidae_objs.rb