schema

package
v0.0.0-...-595c5f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ent.Schema
}

Account holds the schema definition for the Account entity.

func (Account) Annotations

func (Account) Annotations() []schema.Annotation

Check that either auth_id or password is not null.

func (Account) Edges

func (Account) Edges() []ent.Edge

Edges of the Account.

func (Account) Fields

func (Account) Fields() []ent.Field

Fields of the Account.

type AuthRole

type AuthRole struct {
	ent.Schema
}

AuthRole holds the schema definition for the AuthRole entity.

func (AuthRole) Edges

func (AuthRole) Edges() []ent.Edge

Edges of the AuthRole.

func (AuthRole) Fields

func (AuthRole) Fields() []ent.Field

Fields of the AuthRole.

func (AuthRole) Mixin

func (AuthRole) Mixin() []ent.Mixin

Adds id, created_at and updated_at fields.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL