modify models to schemas

This commit is contained in:
Rogee
2025-01-21 11:22:22 +08:00
parent 4f47b5f090
commit 5b99870e74
41 changed files with 33 additions and 23 deletions

View File

@@ -0,0 +1,24 @@
//
// Code generated by go-jet DO NOT EDIT.
//
// WARNING: Changes to this file may cause incorrect behavior
// and will be lost if the code is regenerated
//
package table
// UseSchema sets a new schema name for all generated table SQL builder types. It is recommended to invoke
// this method only once at the beginning of the program.
func UseSchema(schema string) {
Medias = Medias.FromSchema(schema)
Orders = Orders.FromSchema(schema)
Posts = Posts.FromSchema(schema)
Storages = Storages.FromSchema(schema)
TenantUserBalances = TenantUserBalances.FromSchema(schema)
TenantUsers = TenantUsers.FromSchema(schema)
Tenants = Tenants.FromSchema(schema)
UserBoughtPosts = UserBoughtPosts.FromSchema(schema)
UserMedias = UserMedias.FromSchema(schema)
UserOauths = UserOauths.FromSchema(schema)
Users = Users.FromSchema(schema)
}