Migration and initial schemas for linking alias identities to parent accounts via a nullable parent_id foreign key.
6 lines
206 B
SQL
6 lines
206 B
SQL
-- Add alias support: parent_id links an alias identity to a parent account
|
|
ALTER TABLE ident_switch
|
|
ADD parent_id integer DEFAULT NULL;
|
|
|
|
CREATE INDEX IX_ident_switch_parent_id ON ident_switch(parent_id);
|