Last active
August 11, 2020 15:14
-
-
Save amatzen/784ccdac24161257941e9a5624fd8226 to your computer and use it in GitHub Desktop.
Created and Modified
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE ___ | |
ADD | |
( | |
`created_at` DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, | |
`modified_at` DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL ON UPDATE CURRENT_TIMESTAMP | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment