Sha256: 0da1634c954a27413c7e8255706baebaa56772421bffc6babf23a180cdd12a4a

Contents?: true

Size: 143 Bytes

Versions: 28

Compression:

Stored size: 143 Bytes

Contents

class IndexCommitsOnStackIdAndSha < ActiveRecord::Migration[5.1]
  def change
    add_index :commits, %i(sha stack_id), unique: true
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.38.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.37.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.36.1 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.36.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.35.1 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.35.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.34.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.33.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.32.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.31.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.30.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.29.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.28.1 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.28.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.27.1 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.27.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.26.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.25.1 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb
shipit-engine-0.25.0 db/migrate/20170524104615_index_commits_on_stack_id_and_sha.rb