diff --git a/CHANGELOG.md b/CHANGELOG.md index c690e8d5..2dd8ff2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## v0.4.45 -FEATURE: Minimal support for "organizations". Site admin API endpoints provided to create, list, and delete "organizations". Site admin API endpoints provided to add, list, and remove "organization members" (zrok accounts) with the ability to mark accounts as a "organization admin". API endpoints provided for organization admins to list the members of their organizations, and to also see the overview (environments, shares, and accesses) for any account in their organization. API endpoint for end users to see which organizations their account is a member of. (https://github.com/openziti/zrok/issues/537) +FEATURE: Minimal support for "organizations". Site admin API endpoints provided to create, list, and delete "organizations". Site admin API endpoints provided to add, list, and remove "organization members" (zrok accounts) with the ability to mark accounts as a "organization admin". API endpoints provided for organization admins to list the members of their organizations, and to also see the overview (environments, shares, and accesses) for any account in their organization. API endpoint for end users to see which organizations their account is a member of (https://github.com/openziti/zrok/issues/537) CHANGE: briefly mention the backend modes that apply to public and private share concepts diff --git a/controller/store/sql/sqlite3/030_v0_4_45_organizations.sql b/controller/store/sql/sqlite3/030_v0_4_45_organizations.sql index 67975605..e26d4c02 100644 --- a/controller/store/sql/sqlite3/030_v0_4_45_organizations.sql +++ b/controller/store/sql/sqlite3/030_v0_4_45_organizations.sql @@ -1,7 +1,7 @@ -- +migrate Up create table organizations ( - id serial primary key, + id integer primary key, token varchar(32) not null, description varchar(128), @@ -14,7 +14,7 @@ create table organizations ( create index organization_token_idx on organizations(token); create table organization_members ( - id serial primary key, + id integer primary key, organization_id integer references organizations(id) not null, account_id integer references accounts(id) not null,