Full Mattermost server source with integrated Community Enterprise features. Includes vendor directory for offline/air-gapped builds. Structure: - enterprise-impl/: Enterprise feature implementations - enterprise-community/: Init files that register implementations - enterprise/: Bridge imports (community_imports.go) - vendor/: All dependencies for offline builds Build (online): go build ./cmd/mattermost Build (offline/air-gapped): go build -mod=vendor ./cmd/mattermost 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
475 B
SQL
16 lines
475 B
SQL
CREATE TABLE IF NOT EXISTS groupteams (
|
|
groupid VARCHAR(26),
|
|
autoadd boolean,
|
|
schemeadmin boolean,
|
|
createat bigint,
|
|
deleteat bigint,
|
|
updateat bigint,
|
|
teamid VARCHAR(26),
|
|
PRIMARY KEY(groupid, teamid)
|
|
);
|
|
|
|
ALTER TABLE groupteams ADD COLUMN IF NOT EXISTS schemeadmin boolean default false;
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_groupteams_schemeadmin ON groupteams (schemeadmin);
|
|
CREATE INDEX IF NOT EXISTS idx_groupteams_teamid ON groupteams (teamid);
|