Allow for adding and updating dynamic default values #80
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When updating or adding fields with expressions in the default values we need to re-create the tables.
This was landed in ronin-co/cli#60.
In ronin-co/compiler#144, we changed the behavior so that
name
andpluralName
are no longer automatically regenerated when altering a model’s slug. Instead, we now set these values directly in the CLI. This PR resolves the resulting issue by ensuring that models receive the correct names after creating temporary tables.This was landed in ronin-co/cli#59.
This PR adds the ability to change the
idPrefix
.Furthermore I fixed a small bug where the prompt was shown when running
ronin diff apply pathToYourSchema
.This was landed in ronin-co/cli#55.