Potion/internal/infrastructure/database/migrations/006_create_engagment_enum.sql
Hayden Hargreaves d2835c636c (DB/FEAT): Began the implementation of the user engagement!
The database requirements have been added, as well as the service/repo
architecture. A few small functions have been created, but the system is
not complete by any means. More work is required to mark this task
complete.
2025-07-13 21:34:54 -07:00

17 lines
283 B
PL/PgSQL

-- Author: Hayden Hargreaves (hhargreaves2006@gmail.com)
-- Desc: Create the E_ENGAGEMENT enum.
-- Date: 07/13/2025
BEGIN;
CREATE TYPE E_ENGAGEMENT AS ENUM(
'made',
'liked', -- this is the same as saved/favorited
'viewed',
'shared',
'reviewed',
'rated'
);
COMMIT;