Sha256: 8efa70071f08aaa986f635ab4e6f095cff01cb56d4c16aa3f56243bfaec2fb29
Contents?: true
Size: 302 Bytes
Versions: 14
Compression:
Stored size: 302 Bytes
Contents
# frozen_string_literal: true class AddUniqueIndexes < ActiveRecord::Migration[5.2] def change add_index :post_types, :name, unique: true add_index :redirects, :from_path, unique: true add_index :tags, [:blog_id, :name], unique: true add_index :users, :login, unique: true end end
Version data entries
14 entries across 14 versions & 1 rubygems