migrations

package
v0.0.0-...-e75809f Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Down00001

func Down00001(tx *sql.Tx) error

Down00001 drop user tables

func Down00002

func Down00002(tx *sql.Tx) error

Down00002 drop feedback tables

func Down00003

func Down00003(tx *sql.Tx) error

Down00003 ...

func Down00004

func Down00004(tx *sql.Tx) error

Down00004 ...

func Down00005

func Down00005(tx *sql.Tx) error

Down00005 ...

func Down00006

func Down00006(tx *sql.Tx) error

Down00006 ...

func Down00007

func Down00007(tx *sql.Tx) error

Down00007 ...

func Down00008

func Down00008(tx *sql.Tx) error

Down00008 ...

func Down00009

func Down00009(tx *sql.Tx) error

Down00009 ...

func Down00010

func Down00010(tx *sql.Tx) error

Down00010 ...

func Down00011

func Down00011(tx *sql.Tx) error

Down00011 ...

func Down00012

func Down00012(tx *sql.Tx) error

Down00012 ...

func Down00013

func Down00013(tx *sql.Tx) error

Down00013 ...

func Down00014

func Down00014(tx *sql.Tx) error

Down00014 ...

func Down00015

func Down00015(tx *sql.Tx) error

Down00015 ...

func Down00016

func Down00016(tx *sql.Tx) error

Down00016 ...

func Down00017

func Down00017(tx *sql.Tx) error

Down00017 ...

func Down00018

func Down00018(tx *sql.Tx) error

Down00018 ...

func Down00019

func Down00019(tx *sql.Tx) error

Down00019 ...

func Down00020

func Down00020(tx *sql.Tx) error

Down00020 ...

func Down00021

func Down00021(tx *sql.Tx) error

Down00021 ...

func Down00022

func Down00022(tx *sql.Tx) error

Down00022 ...

func Down00023

func Down00023(tx *sql.Tx) error

Down00023 ...

func Down00024

func Down00024(tx *sql.Tx) error

Down00024 ...

func Down00025

func Down00025(tx *sql.Tx) error

Down00025 ...

func Down00026

func Down00026(tx *sql.Tx) error

Down00026 ...

func Down00027

func Down00027(tx *sql.Tx) error

Down00027 ...

func Down00028

func Down00028(tx *sql.Tx) error

Down00028 ...

func Down00029

func Down00029(tx *sql.Tx) error

Down00029 ...

func Down00030

func Down00030(tx *sql.Tx) error

Down00030 ...

func Down00031

func Down00031(tx *sql.Tx) error

Down00031 ...

func Down00032

func Down00032(tx *sql.Tx) error

Down00032 ...

func Down00033

func Down00033(tx *sql.Tx) error

Down00033 ...

func Down00034

func Down00034(tx *sql.Tx) error

Down00034 ...

func Up00001

func Up00001(tx *sql.Tx) error

Up00001 Create user tables

func Up00002

func Up00002(tx *sql.Tx) error

Up00002 create feedback tables

func Up00003

func Up00003(tx *sql.Tx) error

Up00003 ...

func Up00004

func Up00004(tx *sql.Tx) error

Up00004 ...

func Up00005

func Up00005(tx *sql.Tx) error

Up00005 ...

func Up00006

func Up00006(tx *sql.Tx) error

Up00006 ...

func Up00007

func Up00007(tx *sql.Tx) error

Up00007 ...

func Up00008

func Up00008(tx *sql.Tx) error

Up00008 ...

func Up00009

func Up00009(tx *sql.Tx) error

Up00009 ...

func Up00010

func Up00010(tx *sql.Tx) error

Up00010 ...

func Up00011

func Up00011(tx *sql.Tx) error

Up00011 ...

func Up00012

func Up00012(tx *sql.Tx) error

Up00012 ...

func Up00013

func Up00013(tx *sql.Tx) error

Up00013 ...

func Up00014

func Up00014(tx *sql.Tx) error

Up00014 ...

func Up00015

func Up00015(tx *sql.Tx) error

Up00015 ...

func Up00016

func Up00016(tx *sql.Tx) error

Up00016 ...

func Up00017

func Up00017(tx *sql.Tx) error

Up00017 ...

func Up00018

func Up00018(tx *sql.Tx) error

Up00018 ...

func Up00019

func Up00019(tx *sql.Tx) error

Up00019 ...

func Up00020

func Up00020(tx *sql.Tx) error

Up00020 ...

func Up00021

func Up00021(tx *sql.Tx) error

Up00021 ...

func Up00022

func Up00022(tx *sql.Tx) error

Up00022 ...

func Up00023

func Up00023(tx *sql.Tx) error

Up00023 ...

func Up00024

func Up00024(tx *sql.Tx) error

Up00024 ...

func Up00025

func Up00025(tx *sql.Tx) error

Up00025 ...

func Up00026

func Up00026(tx *sql.Tx) error

Up00026 ...

func Up00027

func Up00027(tx *sql.Tx) error

Up00027 ...

func Up00028

func Up00028(tx *sql.Tx) error

Up00028 ...

func Up00029

func Up00029(tx *sql.Tx) error

Up00029 ...

func Up00030

func Up00030(tx *sql.Tx) error

Up00030 ...

func Up00031

func Up00031(tx *sql.Tx) error

Up00031 ...

func Up00032

func Up00032(tx *sql.Tx) error

Up00032 ...

func Up00033

func Up00033(tx *sql.Tx) error

Up00033 ...

func Up00034

func Up00034(tx *sql.Tx) error

Up00034 ...

Types

type User

type User struct {
	TimeProviderConfig fields.JSONB `gorm:"type:jsonb; not null; default:'{}'::jsonb"`
}

User ...

type UserAdminAccess

type UserAdminAccess struct {
	gorm.Model
	IsAdmin bool `gorm:"default:false; not null"`
}

UserAdminAccess defines only the fields used in this migration and not full model.

func (UserAdminAccess) TableName

func (UserAdminAccess) TableName() string

TableName ...

Jump to

Keyboard shortcuts

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