Created
January 14, 2022 17:04
-
-
Save samebchase/3b519f4d55f44ab58b26af346bc8f294 to your computer and use it in GitHub Desktop.
Nullable Json columns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model foo is table<foo> { | |
has Str $.id is column; | |
has Json $.from_data is column{:nullable}; | |
has Json $.to_data is column{:nullable}; | |
has Json $.extra_data is column{:nullable}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment