mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-15 07:19:16 +00:00
generate database schemas
This commit is contained in:
parent
4c76f6b367
commit
63cfeffc4d
70 changed files with 26933 additions and 1398 deletions
|
@ -1,4 +1,4 @@
|
|||
// Code generated by entc, DO NOT EDIT.
|
||||
// Code generated by ent, DO NOT EDIT.
|
||||
|
||||
package ent
|
||||
|
||||
|
@ -14,6 +14,16 @@ type Tx struct {
|
|||
config
|
||||
// AuthTokens is the client for interacting with the AuthTokens builders.
|
||||
AuthTokens *AuthTokensClient
|
||||
// Group is the client for interacting with the Group builders.
|
||||
Group *GroupClient
|
||||
// Item is the client for interacting with the Item builders.
|
||||
Item *ItemClient
|
||||
// ItemField is the client for interacting with the ItemField builders.
|
||||
ItemField *ItemFieldClient
|
||||
// Label is the client for interacting with the Label builders.
|
||||
Label *LabelClient
|
||||
// Location is the client for interacting with the Location builders.
|
||||
Location *LocationClient
|
||||
// User is the client for interacting with the User builders.
|
||||
User *UserClient
|
||||
|
||||
|
@ -152,6 +162,11 @@ func (tx *Tx) Client() *Client {
|
|||
|
||||
func (tx *Tx) init() {
|
||||
tx.AuthTokens = NewAuthTokensClient(tx.config)
|
||||
tx.Group = NewGroupClient(tx.config)
|
||||
tx.Item = NewItemClient(tx.config)
|
||||
tx.ItemField = NewItemFieldClient(tx.config)
|
||||
tx.Label = NewLabelClient(tx.config)
|
||||
tx.Location = NewLocationClient(tx.config)
|
||||
tx.User = NewUserClient(tx.config)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue