Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

add comment on how to get blob id for mysql #2650

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ class ConvertToActiveStorage < ActiveRecord::Migration[5.2]
get_blob_id = 'LASTVAL()'
# mariadb
# get_blob_id = 'LAST_INSERT_ID()'
# myslq
# get_blob_id = 'mysql_insert_id()'
# sqlite
# get_blob_id = 'LAST_INSERT_ROWID()'

Expand Down