Antelope-Valley-College / polr

GNU General Public License v2.0
24 stars 10 forks source link

Can't add links XD #3

Closed mwilmes-at-avc closed 1 year ago

mwilmes-at-avc commented 1 year ago

Links can't be added to the database!

When adding a link to be shortened without any specific ending, the system errors that the ending must be alpha-dash.
When adding a public link to be shortened with a specific ending, the system errors that the link could not be added to the database because there was no default value for the secret_key column.

Update

I have a fix working in test and my prod. I'm In the process of trying to build the database migration file to integrate into the codebase. The validation code for the ending needs to include "nullable".