🗃️ Adds db migration

This commit is contained in:
2026-07-05 09:42:52 +02:00
parent 7b2c03dd7b
commit ee79500c87
12 changed files with 104 additions and 0 deletions
@@ -0,0 +1,3 @@
-- This file should undo anything in `up.sql`
DROP TABLE actions;
@@ -0,0 +1,10 @@
-- Your SQL goes here
CREATE TABLE IF NOT EXISTS actions
(
id UUID PRIMARY KEY NOT NULL UNIQUE DEFAULT gen_random_uuid(),
name TEXT NOT NULL,
source TEXT NOT NULL,
created_at TIMESTAMP NOT NULL DEFAULT now(),
updated_at TIMESTAMP NOT NULL DEFAULT now()
);