Page MenuHomePhorge

Init command
ClosedPublic

Authored by mollekopf on Dec 17 2024, 1:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 23, 1:22 AM
Unknown Object (File)
Fri, Jan 10, 7:46 AM
Unknown Object (File)
Wed, Jan 8, 7:18 PM
Unknown Object (File)
Sun, Jan 5, 3:34 AM
Unknown Object (File)
Sat, Jan 4, 4:34 PM
Unknown Object (File)
Sat, Jan 4, 6:23 AM
Unknown Object (File)
Sat, Jan 4, 6:23 AM
Unknown Object (File)
Sat, Jan 4, 6:23 AM
Subscribers

Details

Reviewers
machniak
Group Reviewers
Restricted Project
Commits
rKfeb1df494ffd: Init command
Summary

The init command is intended as an additional mechanism to migrations
and seeds.

The purpose of the init command is to create/update database entries
that are required.
It is meant to be executed after migration and seeder during startup,
or at runtime (e.g. when the configuration changed).
It should normally always be executed during startup.

Entries created in the init command do not have to be in
migrations/seeders additionally.

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Dec 17 2024, 1:13 PM
machniak subscribed.

The imap user is being created from UserSeeder in the demo config. You have to remove that part. Also, maybe the command should be db:init or data:init, but just init is also fine.

This revision is now accepted and ready to land.Dec 17 2024, 1:44 PM
This revision was automatically updated to reflect the committed changes.