Sha256: a9ad65fc16defc1ed6c57a86b6dbbb5ff97bc97e67f30f3b9e455562fa01a504

Contents?: true

Size: 130 Bytes

Versions: 20

Compression:

Stored size: 130 Bytes

Contents

class RequireProjectSlugsToBeUnique < ActiveRecord::Migration
  def change
    add_index :projects, :slug, unique: true
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
houston-core-0.9.2 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.9.1 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.9.0 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.9.0.rc1 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.8.4 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.8.3 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.8.2 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.8.1 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.8.0 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.8.0.pre2 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.8.0.pre db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.7.0 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.7.0.beta4 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.7.0.beta3 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.7.0.beta2 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.7.0.beta db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.6.3 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.6.2 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.6.1 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb
houston-core-0.6.0 db/migrate/20151205204922_require_project_slugs_to_be_unique.rb