Add nullable to complex N:M example
commit4570cd127f328103533f77550a06a5248c91cbd8
authorfabianlindfors <fabian@flapplabs.se>
dateSun 21 Jan 2024, 23:07 (3 years ago)
parent0a3715f
README.md+1
@@ -675,6 +675,7 @@ primary_key = ["account_id", "user_id"]
675675 [[actions.columns]]
676676 name = "role"
677677 type = "TEXT"
678+ nullable = false
678679
679680 # Backfill the new table from `users` and uppercase the `role`
680681 [actions.up]