migrations

package
v0.0.0-...-fcb87a8 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package migrations 数据迁移定义

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCountersCollection

type CreateCountersCollection struct {
}

CreateCountersCollection 创建计数器集合

func (*CreateCountersCollection) Down

func (c *CreateCountersCollection) Down() error

Down 回滚迁移

func (*CreateCountersCollection) Name

Name 迁移的名称

func (*CreateCountersCollection) Up

Up 执行迁移

type CreateForumRewardRulesCollection

type CreateForumRewardRulesCollection struct {
}

CreateForumRewardRulesCollection 创建板块奖励规则集合

func (*CreateForumRewardRulesCollection) Down

Down 回滚迁移

func (*CreateForumRewardRulesCollection) Name

Name 迁移的名称

func (*CreateForumRewardRulesCollection) Up

Up 执行迁移

type CreateForumTreesCollection

type CreateForumTreesCollection struct {
}

CreateForumTreesCollection 创建论坛集合

func (*CreateForumTreesCollection) Down

Down 回滚迁移

func (*CreateForumTreesCollection) Name

Name 迁移的名称

func (*CreateForumTreesCollection) Up

Up 执行迁移

type CreateForumZonesCollection

type CreateForumZonesCollection struct {
}

CreateForumZonesCollection 创建板块分区集合

func (*CreateForumZonesCollection) Down

Down 回滚迁移

func (*CreateForumZonesCollection) Name

Name 迁移的名称

func (*CreateForumZonesCollection) Up

Up 执行迁移

type CreateForumsCollection

type CreateForumsCollection struct {
}

CreateForumsCollection 创建论坛板块集合

func (*CreateForumsCollection) Down

func (c *CreateForumsCollection) Down() error

Down 回滚迁移

func (*CreateForumsCollection) Name

Name 迁移的名称

func (*CreateForumsCollection) Up

func (c *CreateForumsCollection) Up() error

Up 执行迁移

type CreateGroupUsersCollection

type CreateGroupUsersCollection struct {
}

CreateGroupUsersCollection 创建组用户记录集合

func (*CreateGroupUsersCollection) Down

Down 回滚迁移

func (*CreateGroupUsersCollection) Name

Name 迁移的名称

func (*CreateGroupUsersCollection) Up

Up 执行迁移

type CreateGroupsCollection

type CreateGroupsCollection struct {
}

CreateGroupsCollection 创建系统内置用户组集合

func (*CreateGroupsCollection) Down

func (c *CreateGroupsCollection) Down() error

Down 回滚迁移

func (*CreateGroupsCollection) Name

Name 迁移的名称

func (*CreateGroupsCollection) Up

func (c *CreateGroupsCollection) Up() error

Up 执行迁移

type CreateSessionsCollection

type CreateSessionsCollection struct {
}

CreateSessionsCollection 创建会话集合

func (*CreateSessionsCollection) Down

func (c *CreateSessionsCollection) Down() error

Down 回滚迁移

func (*CreateSessionsCollection) Name

Name 迁移的名称

func (*CreateSessionsCollection) Up

Up 执行迁移

type CreateUsersCollection

type CreateUsersCollection struct {
}

CreateUsersCollection 创建用户集合

func (*CreateUsersCollection) Down

func (c *CreateUsersCollection) Down() error

Down 回滚迁移

func (*CreateUsersCollection) Name

func (*CreateUsersCollection) Name() string

Name 迁移的名称

func (*CreateUsersCollection) Up

func (c *CreateUsersCollection) Up() error

Up 执行迁移

type Hello

type Hello struct {
}

Hello 测试迁移

func (*Hello) Down

func (*Hello) Down() error

Down 回滚迁移

func (*Hello) Name

func (*Hello) Name() string

Name 迁移的名称

func (*Hello) Up

func (*Hello) Up() error

Up 执行迁移

Jump to

Keyboard shortcuts

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