Make updated_at not nullable, it should get set at the creation as well

This commit is contained in:
Philipp
2022-12-30 17:15:15 +01:00
parent f96aec18cc
commit 00eaa99eb3
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ Fields
| ---------- | ---------------------------- | ------------- | ---- | --- | ------- | ----- |
| k | | varbinary(50) | NO | PRI | NULL | |
| v | | mediumtext | YES | | NULL | |
| updated_at | timestamp of the last update | int unsigned | YES | | NULL | |
| updated_at | timestamp of the last update | int unsigned | NO | | NULL | |
Indexes
------------