Sha256: 7ff1b97c6cca2feffe32d012cd6eb7fc89bf244bcd4791b1f6e23ce82001a7fa

Contents?: true

Size: 428 Bytes

Versions: 9

Compression:

Stored size: 428 Bytes

Contents

class AddReviewStacks < ActiveRecord::Migration[6.0]
  def change
    add_column :stacks, :provision_status, :string, null: false, default: :deprovisioned
    add_index :stacks, :provision_status

    add_column :stacks, :type, :string, default: "Shipit::Stack"
    add_index :stacks, :type

    add_column :stacks, :awaiting_provision, :boolean, null: false, default: false
    add_index :stacks, :awaiting_provision
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 db/migrate/20200706145406_add_review_stacks.rb
shipit-engine-0.38.0 db/migrate/20200706145406_add_review_stacks.rb
shipit-engine-0.37.0 db/migrate/20200706145406_add_review_stacks.rb
shipit-engine-0.36.1 db/migrate/20200706145406_add_review_stacks.rb
shipit-engine-0.36.0 db/migrate/20200706145406_add_review_stacks.rb
shipit-engine-0.35.1 db/migrate/20200706145406_add_review_stacks.rb
shipit-engine-0.35.0 db/migrate/20200706145406_add_review_stacks.rb
shipit-engine-0.34.0 db/migrate/20200706145406_add_review_stacks.rb
shipit-engine-0.33.0 db/migrate/20200706145406_add_review_stacks.rb