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
488 B
SQL
16 lines
488 B
SQL
CREATE TABLE IF NOT EXISTS groupchannels (
|
|
groupid VARCHAR(26),
|
|
autoadd boolean,
|
|
schemeadmin boolean,
|
|
createat bigint,
|
|
deleteat bigint,
|
|
updateat bigint,
|
|
channelid VARCHAR(26),
|
|
PRIMARY KEY(groupid, channelid)
|
|
);
|
|
|
|
ALTER TABLE groupchannels ADD COLUMN IF NOT EXISTS schemeadmin boolean;
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_groupteams_schemeadmin ON groupchannels (schemeadmin);
|
|
CREATE INDEX IF NOT EXISTS idx_groupchannels_channelid ON groupchannels (channelid);
|