Skip to content
Discussion options

You must be logged in to vote

Hi, @jyxjjj

You can specify $precision argument when you define a column. The exactly same precision is used in CURRENT_TIMESTAMP().
$table->timestamp('precise_timestamp_column', 3)->useCurrentOnUpdate();

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@jyxjjj
Comment options

Comment options

You must be logged in to vote
4 replies
@jyxjjj
Comment options

@Angel5a
Comment options

@jyxjjj
Comment options

@Angel5a
Comment options

Answer selected by jyxjjj
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants