From e313c40d246ac7545a1907621841090664bf61ae Mon Sep 17 00:00:00 2001
From: cel 🌸 <cel@bunny.garden>
Date: Thu, 5 Jun 2025 03:50:36 +0100
Subject: feat: database functions

---
 migrations/20240726140649_fj.sql | 35 -----------------------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 migrations/20240726140649_fj.sql

(limited to 'migrations/20240726140649_fj.sql')

diff --git a/migrations/20240726140649_fj.sql b/migrations/20240726140649_fj.sql
deleted file mode 100644
index 0afed32..0000000
--- a/migrations/20240726140649_fj.sql
+++ /dev/null
@@ -1,35 +0,0 @@
-PRAGMA foreign_keys = on;
-
-create table tasks (
-    id integer primary key,
-    name text unique not null,
-    cron text,
-    archived integer not null default 0,
-    description text
-);
-
-create table categories (
-    id integer primary key,
-    name text unique not null
-);
-
-create table tasks_categories (
-    task_id integer,
-    category_id integer,
-    foreign key(task_id) references tasks(id),
-    foreign key(category_id) references categories(id)
-);
-
-create table log (
-    id integer primary key,
-    task_id integer,
-    datetime text not null,
-    foreign key(task_id) references tasks(id)
-);
-
-create table reminders (
-    id integer primary key,
-    task_id integer,
-    time_delta text not null,
-    foreign key(task_id) references tasks(id)
-);
-- 
cgit 

