mirror of https://github.com/usememos/memos.git
- Updated the isSuperUser function to only check for ADMIN role. - Added SQL migration scripts for MySQL, PostgreSQL, and SQLite to change user roles from HOST to ADMIN. - Created a new SQLite migration to alter the user table structure and ensure data integrity during the migration process. |
||
|---|---|---|
| .. | ||
| 00__rename_resource_to_attachment.sql | ||
| 01__drop_memo_organizer.sql | ||
| 02__drop_indexes.sql | ||
| 03__alter_user_role.sql | ||
| 04__migrate_host_to_admin.sql | ||