-
I'm unsure if it's something I'm doing wrong or if it's an issue with drift (I presume it's the former), but whenever I create a database where I've set an column with: DateTimeColumn get createdAt => dateTime().withDefault(currentDateAndTime)(); I still get unix time when I inspect the database. I've added
as stated in: |
Beta Was this translation helpful? Give feedback.
Answered by
simolus3
Aug 28, 2024
Replies: 1 comment 2 replies
-
Did you re-run build_runner after making the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
piperun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you re-run build_runner after making the
build.yaml
change?Note that, for existing databases to switch to the text-based format, you need to write a migration .