Skip to content

feat: add multi-session support#2161

Draft
alexmatson-da wants to merge 3 commits into
mainfrom
alex/multi-session
Draft

feat: add multi-session support#2161
alexmatson-da wants to merge 3 commits into
mainfrom
alex/multi-session

Conversation

@alexmatson-da

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Alex Matson <alex.matson@digitalasset.com>
Signed-off-by: Alex Matson <alex.matson@digitalasset.com>
Signed-off-by: Alex Matson <alex.matson@digitalasset.com>

export async function up(db: Kysely<DB>): Promise<void> {
console.log('Adding origin column to networks table')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Session currently doesn't have a primary key. We should consider making the id the pk, as well as a unique constraint around origin, user_id. Then there's also the question of the access_token where i'm not sure if it's a good idea to make this unique, although it might very well be valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants