first-commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
CREATE DATABASE IF NOT EXISTS testdb;
|
||||
|
||||
use testdb;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS tasks (
|
||||
task_id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
title VARCHAR(255) NOT NULL,
|
||||
start_date DATE,
|
||||
due_date DATE,
|
||||
status TINYINT NOT NULL,
|
||||
priority TINYINT NOT NULL,
|
||||
description TEXT,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
) ENGINE=INNODB;
|
||||
Reference in New Issue
Block a user