Sha256: 6a6c7dbe60769268c4f4a53008cf49a4b586ff84dc1cd93ffdb4fba243f74ae0
Contents?: true
Size: 281 Bytes
Versions: 52
Compression:
Stored size: 281 Bytes
Contents
# frozen_string_literal: true class CreateUsers < ActiveRecord::Migration[6.0] def change create_table :users, id: :uuid do |t| t.string :email, null: false t.string :idp_id, null: false end add_index :users, %i[email idp_id], unique: true end end
Version data entries
52 entries across 52 versions & 1 rubygems