fedimovies/migrations/V0022__actor_profile__add_actor_id.sql

2 lines
116 B
MySQL
Raw Normal View History

2022-04-20 13:47:04 +00:00
ALTER TABLE actor_profile ADD COLUMN actor_id VARCHAR(200) UNIQUE GENERATED ALWAYS AS (actor_json ->> 'id') STORED;