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 创建计数器集合
type CreateForumRewardRulesCollection ¶
type CreateForumRewardRulesCollection struct { }
CreateForumRewardRulesCollection 创建板块奖励规则集合
func (*CreateForumRewardRulesCollection) Down ¶
func (c *CreateForumRewardRulesCollection) Down() error
Down 回滚迁移
func (*CreateForumRewardRulesCollection) Name ¶
func (*CreateForumRewardRulesCollection) Name() string
Name 迁移的名称
func (*CreateForumRewardRulesCollection) Up ¶
func (c *CreateForumRewardRulesCollection) Up() error
Up 执行迁移
type CreateForumTreesCollection ¶
type CreateForumTreesCollection struct { }
CreateForumTreesCollection 创建论坛集合
func (*CreateForumTreesCollection) Down ¶
func (c *CreateForumTreesCollection) Down() error
Down 回滚迁移
func (*CreateForumTreesCollection) Name ¶
func (*CreateForumTreesCollection) Name() string
Name 迁移的名称
type CreateForumZonesCollection ¶
type CreateForumZonesCollection struct { }
CreateForumZonesCollection 创建板块分区集合
func (*CreateForumZonesCollection) Down ¶
func (c *CreateForumZonesCollection) Down() error
Down 回滚迁移
func (*CreateForumZonesCollection) Name ¶
func (*CreateForumZonesCollection) Name() string
Name 迁移的名称
type CreateForumsCollection ¶
type CreateForumsCollection struct { }
CreateForumsCollection 创建论坛板块集合
type CreateGroupUsersCollection ¶
type CreateGroupUsersCollection struct { }
CreateGroupUsersCollection 创建组用户记录集合
func (*CreateGroupUsersCollection) Down ¶
func (c *CreateGroupUsersCollection) Down() error
Down 回滚迁移
func (*CreateGroupUsersCollection) Name ¶
func (*CreateGroupUsersCollection) Name() string
Name 迁移的名称
type CreateGroupsCollection ¶
type CreateGroupsCollection struct { }
CreateGroupsCollection 创建系统内置用户组集合
type CreateSessionsCollection ¶
type CreateSessionsCollection struct { }
CreateSessionsCollection 创建会话集合
Source Files ¶
- common.go
- create_counters_collection.go
- create_forum_reward_rules_collection.go
- create_forum_trees_collection.go
- create_forum_zones_collection.go
- create_forums_collection.go
- create_group_users_collection.go
- create_groups_collection.go
- create_sessions_collection.go
- create_users_collection.go
- doc.go
- hello.go
Click to show internal directories.
Click to hide internal directories.