fedimovies/migrations/V0045__profile_emoji.sql

6 lines
217 B
MySQL
Raw Normal View History

2023-01-21 00:23:15 +00:00
CREATE TABLE profile_emoji (
profile_id UUID NOT NULL REFERENCES actor_profile (id) ON DELETE CASCADE,
emoji_id UUID NOT NULL REFERENCES emoji (id) ON DELETE CASCADE,
PRIMARY KEY (profile_id, emoji_id)
);