Skip to content

Instantly share code, notes, and snippets.

@harendra21
Created April 19, 2019 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harendra21/fea76b77661e2117224e9c734b0ed55c to your computer and use it in GitHub Desktop.
Save harendra21/fea76b77661e2117224e9c734b0ed55c to your computer and use it in GitHub Desktop.
CREATE TABLE `task` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`description` text,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment