legacy_wp_model

package
v1.0.0-13 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WpUser

type WpUser struct {
	bun.BaseModel `bun:"rsntr_users,alias:u"`
	ID            uint64         `bun:"ID,pk,type:serial,notnull"`
	Email         string         `bun:"user_email,type:varchar(100);unique;notnull"`
	Login         string         `bun:"user_login,type:varchar(60)"`
	Registered    time.Time      `bun:"user_registered,type:datetime"`
	Nicename      string         `bun:"user_nicename,type:varchar(50)"`
	DisplayName   string         `bun:"display_name,type:varchar(250)"`
	Password      sql.NullString `bun:"user_pass,type:varchar(255)"`
}

WpUser ...

type WpUserMeta

type WpUserMeta struct {
	bun.BaseModel `bun:"rsntr_usermeta,alias:um"`
	ID            uint64 `bun:"umeta_id,pk,auto_increment,notnull"`
	UserId        uint64 `bun:"user_id,notnull"`
	MetaKey       string `bun:"meta_key,type:varchar(255)"`
	MetaValue     string `bun:"meta_value,type:longtext"`
}

UserMeta ...

Jump to

Keyboard shortcuts

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