~evanj/cms

ref: 9d7fbcbdf7e7332ea56493092efe5cffbadccdd6 cms/internal/s/db/migrations_embed.go -rw-r--r-- 7.6 KiB
9d7fbcbdEvan M Jones Fix(go.mod/vendor): Attempting to fix vendoring for deploys. 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Code generated by "embed -pattern */* -id migrations"; DO NOT EDIT.

package db

import "encoding/base64"

var migrations map[string]string

func tostring(in string) string {
	bytes, _ := base64.StdEncoding.DecodeString(in)
	return string(bytes)
}

func init() {
	migrations = make(map[string]string)

	migrations["sql/00001.sql"] = tostring("Q1JFQVRFIFRBQkxFIGNtc19taWdyYXRlICgKCUlEIElOVEVHRVIgUFJJTUFSWSBLRVkgQVVUT19JTkNSRU1FTlQsCglOQU1FIHZhcmNoYXIoMjU2KSBVTklRVUUgTk9UIE5VTEwsCiAgREFURSBUSU1FU1RBTVAgTk9UIE5VTEwgREVGQVVMVCBDVVJSRU5UX1RJTUVTVEFNUAopOwoKQ1JFQVRFIFRBQkxFIGNtc191c2VyICgKCUlEIElOVEVHRVIgUFJJTUFSWSBLRVkgQVVUT19JTkNSRU1FTlQsCglOQU1FIHZhcmNoYXIoMjU2KSBVTklRVUUgTk9UIE5VTEwsCglIQVNIIHZhcmNoYXIoMjU2KSBOT1QgTlVMTAopOwoKQ1JFQVRFIFRBQkxFIGNtc19zcGFjZSAoCglJRCBJTlRFR0VSIFBSSU1BUlkgS0VZIEFVVE9fSU5DUkVNRU5ULAoJTkFNRSB2YXJjaGFyKDI1NikgTk9UIE5VTEwsCglERVNDUklQVElPTiB2YXJjaGFyKDI1NikgTk9UIE5VTEwKKTsKCkNSRUFURSBUQUJMRSBjbXNfdXNlcl90b19zcGFjZSAoCglJRCBJTlRFR0VSIFBSSU1BUlkgS0VZIEFVVE9fSU5DUkVNRU5ULAoJVVNFUl9JRCBJTlRFR0VSIE5PVCBO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29yZyhJRCkKKTsK")

}

func Get(name string) (string, bool) {
	val, ok := migrations[name]
	return val, ok
}

func Must(name string) string {
	val, _ := migrations[name]
	return val
}