Documentation ¶ Overview ¶ Package migrations embeds the SQL migration files for the kagent database schema and provides the runner that applies them at startup. Index ¶ Variables func RunUp(url string, migrationsFS fs.FS, vectorEnabled bool) error Constants ¶ This section is empty. Variables ¶ View Source var FS embed.FS Functions ¶ func RunUp ¶ func RunUp(url string, migrationsFS fs.FS, vectorEnabled bool) error RunUp applies all pending migrations for the given FS. vectorEnabled controls whether the vector track is also applied. Returns an error if any track fails (and attempts rollback of previously applied tracks). Types ¶ This section is empty. Source Files ¶ View all Source files migrations.gorunner.go Click to show internal directories. Click to hide internal directories.