hal-9000/migrations/2025-05-04-131216_create re.../up.sql

10 lines
284 B
MySQL
Raw Permalink Normal View History

2025-05-04 15:47:43 +00:00
-- Your SQL goes here
CREATE TABLE IF NOT EXISTS "reminders" (
id SERIAL PRIMARY KEY,
cadence TEXT NOT NULL,
target_role BIGINT NOT NULL,
target_channel BIGINT NOT NULL,
time_of_day INTEGER NOT NULL,
message_content TEXT NOT NULL,
next_alert_time BIGINT
);