-
-
Save kasramp/729f9c072b37518ca3a3817a56414d48 to your computer and use it in GitHub Desktop.
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
CREATE TABLE IF NOT EXISTS books ( | |
id INTEGER AUTO_INCREMENT PRIMARY KEY, | |
title VARCHAR(512) NOT NULL, | |
description VARCHAR(2048) NOT NULL, | |
author VARCHAR(256) NOT NULL, | |
year INTEGER NOT NULL, | |
edition INTEGER NOT NULL, | |
publisher VARCHAR(512) NOT NULL, | |
inserted DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP | |
) engine=InnoDB; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment