Upgrade to Go 1.19 (#2347)
This commit is contained in:
1 parent
07a4082aa1
commit
aef9073fa6
77 files changed
+334
-294
No files matched your search
@@ -7,16 +7,15 @@
|
||||
// prior to creating a schema.Manager. This is generally done in an init
|
||||
// function of another package, i.e.:
|
||||
//
|
||||
// //go:embed postgres
|
||||
// var postgres embed.FS
|
||||
// //go:embed postgres
|
||||
// var postgres embed.FS
|
||||
//
|
||||
// func init() {
|
||||
// schema.RegisterEdition("oss", schema.Postgres, postgres, 0)
|
||||
// }
|
||||
// func init() {
|
||||
// schema.RegisterEdition("oss", schema.Postgres, postgres, 0)
|
||||
// }
|
||||
//
|
||||
// Then a manager can be created and used to apply the migrations:
|
||||
//
|
||||
// m := schema.NewManager(ctx, schema.Postgres, db)
|
||||
// m.ApplyMigrations()
|
||||
//
|
||||
// m := schema.NewManager(ctx, schema.Postgres, db)
|
||||
// m.ApplyMigrations()
|
||||
package schema
|
||||
Reference in new issue
Block a user