|
-- Your SQL goes here
|
|
CREATE TABLE IF NOT EXISTS "custom_responses" (
|
|
id SERIAL PRIMARY KEY,
|
|
trigger TEXT NOT NULL,
|
|
response TEXT NOT NULL,
|
|
added_by BIGINT NOT NULL,
|
|
added_on BIGINT NOT NULL,
|
|
added_for BIGINT NOT NULL REFERENCES userinfo(user_id),
|
|
deleted BOOLEAN
|
|
); |