Logo
Explore Help
Register Sign In
starred/vaultwarden
1
0
Fork 0
You've already forked vaultwarden
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-12-14 17:23:21 +03:00
Code Issues 429 Packages Projects Releases 10 Wiki Activity
Files
cec1e87679cfd0e2f0bce9b7dc3256dbbd2effa8
vaultwarden/migrations/mysql/2023-06-02-200424_create_organization_api_key/up.sql

11 lines
299 B
MySQL
Raw Normal View History

Add support for Organization token This is a WIP for adding organization token login support. It has basic token login and verification support, but that's about it. This branch is a refresh of the previous version, and will contain code from a PR based upon my previous branch.
2023-06-02 21:36:15 +02:00
CREATE TABLE organization_api_key (
uuid CHAR(36) NOT NULL,
org_uuid CHAR(36) NOT NULL REFERENCES organizations(uuid),
atype INTEGER NOT NULL,
api_key VARCHAR(255) NOT NULL,
revision_date DATETIME NOT NULL,
PRIMARY KEY(uuid, org_uuid)
);
Merge and modify PR from @Kurnihil Merging a PR from @Kurnihil into the already rebased branch. Made some small changes to make it work with newer changes. Some finetuning is probably still needed. Co-authored-by: Daniele Andrei <daniele.andrei@geo-satis.com> Co-authored-by: Kurnihil
2023-06-02 22:28:30 +02:00
ALTER TABLE users ADD COLUMN external_id TEXT;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 506ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API