Skip to content

Create Migration Script #5

@claytondaley

Description

@claytondaley

This migration script assumes the user has already renamed \config\autoload\dam4.local.php.dist to dam4.local.php and configured top 6 values (db and email info).

Must:

  • Extend password column in database to 128 (to support ZfcUser passwords)
  • Add "user" to the list of permissions for all Usergroups (i.e. roles) that permit the user to login
  • Ensure a guest usergroup exists to match ZfcRbac default role
    • If a guest role doesn't exist, create one using id = -1 and name = 'guest'
    • Add the 'guest' permission to the permissions comma-separated-list

One of the following:

  • Create the password reset table (for GoalioForgotPassword)
  • Migrate (or reset) all passwords

Optionally:

  • Use the RS config patch out of LegacyRS to control RS settings using ZF2 config files.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions