mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-22 18:37:43 +00:00
The seed fix only reaches new installations. An install that imported the old db.sql already has an administrator with an empty data_scope, and after the fail-closed change that account sees nothing. The migration rewrites any value outside "1".."5" to "1", which is the behaviour those rows had before. Plain SQL rather than the frozen migration models, per the rule that migrations after 1786700003000 must not use them. Claude-Session: https://claude.ai/code/session_01HPTAw8b8tAdFNFn8rKdPYx