Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

299 B
Raw Blame
//go:build !release

package cmd

import (
	"github.com/bytebase/bytebase/backend/common"
	"github.com/bytebase/bytebase/backend/component/config"
)

func activeProfile(dataDir string) *config.Profile {
	p := getBaseProfile(dataDir)
	p.Mode = common.ReleaseModeDev
	p.SQLReviewV2 = true
	return p
}