aboutsummaryrefslogtreecommitdiffstats
path: root/modules/migration/schemas_static.go
blob: 10c83b313a261a2e0a320bd3c9e1f21f892462d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2022 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

//go:build bindata
// +build bindata

package migration

import (
	"io"
	"path"
)

func openSchema(filename string) (io.ReadCloser, error) {
	return Assets.Open(path.Base(filename))
}