Skip to content
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 mention of using :now in Time fields. #1239

Merged
merged 1 commit into from
Sep 13, 2023
Merged

add mention of using :now in Time fields. #1239

merged 1 commit into from
Sep 13, 2023

Conversation

jwoertink
Copy link
Member

Fixes #1214

This was a little tough because it's an edge case feature. and there's no sections dedicated to this sort of thing.

@@ -164,6 +164,7 @@ class Guides::Database::Migrations < GuideAction
add login_count : Int32, default: 0
add tags : Array(String)
add preferences : JSON::Any
add key : String, index: true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't really related, but I wanted to sneak this in anyway to give an example that this is possible.

@jwoertink jwoertink merged commit 7eb7415 into main Sep 13, 2023
2 checks passed
@jwoertink jwoertink deleted the guides/1214 branch September 13, 2023 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document using :now as a default Time value
1 participant