Skip to content

Conversation

@sterken-eli33
Copy link

In the database documentation about casing, the example schema uses the deprecated defaultNow function. I have updated it to the correct .default(sql`CURRENT_TIMESTAMP`).

P.S. Please let me know if I should have done anything deferent. This is my first contribution to another repository :)

Changed the default value for the example "createdAt" column from the deprecated .defaultNow to .default(sql`CURRENT_TIMESTAMP`).
@vercel
Copy link

vercel bot commented Jan 4, 2026

@sterken-eli33 is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

@sterken-eli33 sterken-eli33 changed the title Updated Example Schema fix - Updated Example Schema Jan 4, 2026
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.

1 participant