personal-tracker/server/migrations/2024-05-03-015925_create_tasks/up.sql

8 lines
217 B
MySQL
Raw Normal View History

2024-05-03 02:07:30 +00:00
-- Your SQL goes here
CREATE TABLE IF NOT EXISTS tasks (
id UUID PRIMARY KEY,
title TEXT NOT NULL,
description TEXT NOT NULL,
2024-05-03 03:22:30 +00:00
complete BOOLEAN NOT NULL DEFAULT FALSE,
due_date TIMESTAMP NOT NULL
2024-05-03 02:07:30 +00:00
);