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

8 lines
217 B
MySQL
Raw Normal View History

-- Your SQL goes here
CREATE TABLE IF NOT EXISTS tasks (
id UUID PRIMARY KEY,
title TEXT NOT NULL,
description TEXT NOT NULL,
complete BOOLEAN NOT NULL DEFAULT FALSE,
due_date TIMESTAMP NOT NULL
);