Skip to content

Update schema console command#61

Open
jamie-s-white wants to merge 1 commit into
craftpulse:v5from
supercool:feature/schema-console-command
Open

Update schema console command#61
jamie-s-white wants to merge 1 commit into
craftpulse:v5from
supercool:feature/schema-console-command

Conversation

@jamie-s-white
Copy link
Copy Markdown

This is a PR to add a updateSchema console command.

It's great that this plugin creates a schema if it does not already exist, but, we have found it useful in our own fork to also have the ability to update the schema if we tweak it during development.

This console command allows a developer to drop all fields and completely recreate the schema very quickly and easily.

It is, of course, worth considering renaming this function "destroyAndUpdateSchema" to impress upon the developer that this function is also destructive 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant