-
Notifications
You must be signed in to change notification settings - Fork 687
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 null constraints to migration file? #572
Comments
jdufresne
added a commit
to jdufresne/audited
that referenced
this issue
Apr 4, 2022
Improve data integrity by adding NOT NULL constraints to columns that should _always_ have a value. This helps catch application and library bugs earlier by catching mishandling of data. Fixes collectiveidea#572
jdufresne
added a commit
to jdufresne/audited
that referenced
this issue
Jan 29, 2023
Improve data integrity by adding NOT NULL constraints to columns that should _always_ have a value. This helps catch application and library bugs earlier by catching mishandling of data. Fixes collectiveidea#572
jdufresne
added a commit
to jdufresne/audited
that referenced
this issue
Jan 29, 2023
Improve data integrity by adding NOT NULL constraints to columns that should _always_ have a value. This helps catch application and library bugs earlier by catching mishandling of data. Fixes collectiveidea#572
jdufresne
added a commit
to jdufresne/audited
that referenced
this issue
Jan 31, 2023
Improve data integrity by adding NOT NULL constraints to columns that should _always_ have a value. This helps catch application and library bugs earlier by catching mishandling of data. Fixes collectiveidea#572
jdufresne
added a commit
to jdufresne/audited
that referenced
this issue
Jan 31, 2023
Improve data integrity by adding NOT NULL constraints to columns that should _always_ have a value. This helps catch application and library bugs earlier by catching mishandling of data. Fixes collectiveidea#572
jdufresne
added a commit
to jdufresne/audited
that referenced
this issue
Jan 31, 2023
Improve data integrity by adding NOT NULL constraints to columns that should _always_ have a value. This helps catch application and library bugs earlier by catching mishandling of data. Fixes collectiveidea#572
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a reason to why the
auditable_id
,auditable_type
,action
,audited_changes
,version
,request_uuid
, andcreated_at
fields are nullable? Are there cases where they are indeed created with null values or is it simply to be more flexible in upcoming changes without requiring the user to run a new schema migration?The text was updated successfully, but these errors were encountered: