MattMangoni/nova-blogify-tool

No Validation on Create

Closed this issue · 4 comments

I tried creating a new category without filling in a description and the database caught the error, no validation. Does it need to be mandatory to input a description?
image

@fishmad No, it shouldn't be mandatory tbh. I should make the field nullable
And even if it was, it would still need some kind of validation.

I'm going to fix it in a few hours :)

@fishmad Everything should be fixed in v0.3.0 :)

@fishmad just to be clear: for the time being you have to reinstall the package completely for the new stuff to work (ora just alter the table manually by making the description field nullable).

In the future, I'll probably add separated migrations when needed :)