18 lines
603 B
Ruby
18 lines
603 B
Ruby
# frozen_string_literal: true
|
|
|
|
# This migration was generated by Devise but the original Devise create migration
|
|
# for AdminUser already adds the required columns. Running this migration would
|
|
# attempt to add duplicate columns and fail (SQLite: duplicate column name).
|
|
# To keep schema history consistent, make this migration a no-op so `rails db:migrate`
|
|
# can proceed without errors.
|
|
|
|
class AddDeviseToAdminUsers < ActiveRecord::Migration[8.0]
|
|
def up
|
|
say "Skipping AddDeviseToAdminUsers migration — already applied by earlier migration"
|
|
end
|
|
|
|
def down
|
|
# No-op (irreversible)
|
|
end
|
|
end
|