// Copyright 2026 Moko Consulting <hello@mokoconsulting.tech>
// SPDX-License-Identifier: GPL-3.0-or-later

package v1_27

import "xorm.io/xorm"

// AddManifestVersionPrefixAndElement adds version_prefix and element_name columns to repo_manifest.
func AddManifestVersionPrefixAndElement(x *xorm.Engine) error {
	type RepoManifest struct {
		VersionPrefix string `xorm:"TEXT 'version_prefix'"`
		ElementName   string `xorm:"TEXT 'element_name'"`
	}
	return x.Sync(new(RepoManifest))
}
