mirror of
https://codeberg.org/selfsigned-ash/antifed
synced 2026-07-21 18:49:34 +02:00
🗃️ Adds db migration
This commit is contained in:
@@ -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()
|
||||
);
|
||||
Reference in New Issue
Block a user