mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-06-10 05:54:16 +08:00
fix
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_identity_verifications_on_number (number)
|
||||
# index_identity_verifications_on_user_id (user_id)
|
||||
#
|
||||
|
||||
class IdentityVerification < ApplicationRecord
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
class CreateIdentityVerifications < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :identity_verifications do |t|
|
||||
t.integer :user_id, null:false
|
||||
t.string :number, null:false, index: true
|
||||
t.integer :user_id, null:false, index: true
|
||||
t.string :number, null:false
|
||||
t.string :name, null:false
|
||||
t.integer :card_front
|
||||
t.integer :card_back
|
||||
|
||||
Reference in New Issue
Block a user