Closed cornelisonc closed 6 years ago
If the admin user arguments are optional, what happens when I skip them? Won't the generated SQL file error out -- or at least produce a non-sensical, non-functional admin user?
I see. Can we modify it so that it doesn't duplicate the CREATE TABLE users; statement across the original template and the with-user template?
How does this 👆🏼look @griffbrad ?
Merged!
Fixed: The generated users table did not have a FK reference to the Security Levels table.
Added: Command now accepts args to automatically generate an admin user with provided name, email, and password, preventing the need for an extra deploy file just to add one.