mirror of https://github.com/mautrix/go.git
23 lines
427 B
Go
23 lines
427 B
Go
// Copyright (c) 2024 Tulir Asokan
|
|
//
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
package upgrades
|
|
|
|
import (
|
|
"embed"
|
|
|
|
"go.mau.fi/util/dbutil"
|
|
)
|
|
|
|
var Table dbutil.UpgradeTable
|
|
|
|
//go:embed *.sql
|
|
var rawUpgrades embed.FS
|
|
|
|
func init() {
|
|
Table.RegisterFS(rawUpgrades)
|
|
}
|