You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a table with a column let's call it datetime_str that holds a datetime in string format. Now I want to create a migration that creates a new column called datetime_ms that stores the same datetime but as a millisecond number and then delete datetime_str.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello 👋
I have a table with a column let's call it
datetime_str
that holds a datetime in string format. Now I want to create a migration that creates a new column calleddatetime_ms
that stores the same datetime but as a millisecond number and then deletedatetime_str
.How can I do that?
Beta Was this translation helpful? Give feedback.
All reactions