Skip to content

Instantly share code, notes, and snippets.

@ChoqueCastroLD
Created November 20, 2019 14:59
Show Gist options
  • Save ChoqueCastroLD/a555d47407a17a1cbf7e14b1bf0db01b to your computer and use it in GitHub Desktop.
Save ChoqueCastroLD/a555d47407a17a1cbf7e14b1bf0db01b to your computer and use it in GitHub Desktop.
CREATE TABLE item(
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment