Sha256: f734be05e716a72eee55d72f1b58272d07b288f0f7548be48a589abfe9675fdf

Contents?: true

Size: 126 Bytes

Versions: 3

Compression:

Stored size: 126 Bytes

Contents

class AddUniqueIndexToMovies < ActiveRecord::Migration[7.1]
  def change
    add_index :movies, :name, unique: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
recommender-2.0.1 spec/test_app/db/migrate/20240620062947_add_unique_index_to_movies.rb
recommender-2.0.0 spec/test_app/db/migrate/20240620062947_add_unique_index_to_movies.rb
recommender-0.1.0 spec/test_app/db/migrate/20240620062947_add_unique_index_to_movies.rb