Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add constraints to tables #11

Open
rmil opened this issue Jan 18, 2021 · 1 comment
Open

Add constraints to tables #11

rmil opened this issue Jan 18, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@rmil
Copy link
Member

rmil commented Jan 18, 2021

Currently I am using a lot of text field which don't have a max length. Whilst lovely, we'll need to put some constraints on these columns to ensure that the data entered remains sensible.

@rmil rmil added enhancement New feature or request good first issue Good for newcomers labels Jan 18, 2021
@rmil
Copy link
Member Author

rmil commented Sep 22, 2021

I have added some more constraints, mainly basic ones such as length checks, ON UPDATE, ON DELETE's and value checks sort of like enums.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant