Documentation ¶
Overview ¶
Package migrations hold the migration file for operate database
Index ¶
- type CreateAppsTable20190801213442
- type CreateChunksTable20190815123546
- type CreateFilesTable20190820111006
- type CreateHistoriesTable20190821193012
- type CreateObjectChunkTable20190816152349
- type CreateObjectsTable20190816152340
- type CreateRequestsTable20190810180500
- type CreateTokensTable20190803171834
- type UpdateRequestsTable20190813104829
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAppsTable20190801213442 ¶
type CreateAppsTable20190801213442 struct{}
CreateAppsTable20190801213442 represent some database operate
func (*CreateAppsTable20190801213442) Down ¶
func (c *CreateAppsTable20190801213442) Down(db *gorm.DB) error
Down is executed in downgrading
func (*CreateAppsTable20190801213442) Name ¶
func (c *CreateAppsTable20190801213442) Name() string
Name represent operate name, it's unique
type CreateChunksTable20190815123546 ¶
type CreateChunksTable20190815123546 struct{}
CreateChunksTable20190815123546 represent some database operate
func (*CreateChunksTable20190815123546) Down ¶
func (c *CreateChunksTable20190815123546) Down(db *gorm.DB) error
Down is executed in downgrading
func (*CreateChunksTable20190815123546) Name ¶
func (c *CreateChunksTable20190815123546) Name() string
Name represent operate name, it's unique
type CreateFilesTable20190820111006 ¶
type CreateFilesTable20190820111006 struct{}
CreateFilesTable20190820111006 represent some database operate
func (*CreateFilesTable20190820111006) Down ¶
func (c *CreateFilesTable20190820111006) Down(db *gorm.DB) error
Down is executed in downgrading
func (*CreateFilesTable20190820111006) Name ¶
func (c *CreateFilesTable20190820111006) Name() string
Name represent operate name, it's unique
type CreateHistoriesTable20190821193012 ¶
type CreateHistoriesTable20190821193012 struct{}
CreateHistoriesTable20190821193012 represent some database operate
func (*CreateHistoriesTable20190821193012) Down ¶
func (c *CreateHistoriesTable20190821193012) Down(db *gorm.DB) error
Down is executed in downgrading
func (*CreateHistoriesTable20190821193012) Name ¶
func (c *CreateHistoriesTable20190821193012) Name() string
Name represent operate name, it's unique
type CreateObjectChunkTable20190816152349 ¶
type CreateObjectChunkTable20190816152349 struct{}
CreateObjectChunkTable20190816152349 represent some database operate
func (*CreateObjectChunkTable20190816152349) Down ¶
func (c *CreateObjectChunkTable20190816152349) Down(db *gorm.DB) error
Down is executed in downgrading
func (*CreateObjectChunkTable20190816152349) Name ¶
func (c *CreateObjectChunkTable20190816152349) Name() string
Name represent operate name, it's unique
type CreateObjectsTable20190816152340 ¶
type CreateObjectsTable20190816152340 struct{}
CreateObjectsTable20190816152340 represent some database operate
func (*CreateObjectsTable20190816152340) Down ¶
func (c *CreateObjectsTable20190816152340) Down(db *gorm.DB) error
Down is executed in downgrading
func (*CreateObjectsTable20190816152340) Name ¶
func (c *CreateObjectsTable20190816152340) Name() string
Name represent operate name, it's unique
type CreateRequestsTable20190810180500 ¶
type CreateRequestsTable20190810180500 struct{}
CreateRequestsTable20190810180500 represent some database operate
func (*CreateRequestsTable20190810180500) Down ¶
func (c *CreateRequestsTable20190810180500) Down(db *gorm.DB) error
Down is executed in downgrading
func (*CreateRequestsTable20190810180500) Name ¶
func (c *CreateRequestsTable20190810180500) Name() string
Name represent operate name, it's unique
type CreateTokensTable20190803171834 ¶
type CreateTokensTable20190803171834 struct{}
CreateTokensTable20190803171834 represent some database operate
func (*CreateTokensTable20190803171834) Down ¶
func (c *CreateTokensTable20190803171834) Down(db *gorm.DB) error
Down is executed in downgrading
func (*CreateTokensTable20190803171834) Name ¶
func (c *CreateTokensTable20190803171834) Name() string
Name represent operate name, it's unique
type UpdateRequestsTable20190813104829 ¶
type UpdateRequestsTable20190813104829 struct{}
UpdateRequestsTable20190813104829 represent some database operate
func (*UpdateRequestsTable20190813104829) Down ¶
func (c *UpdateRequestsTable20190813104829) Down(db *gorm.DB) error
Down is executed in downgrading
func (*UpdateRequestsTable20190813104829) Name ¶
func (c *UpdateRequestsTable20190813104829) Name() string
Name represent operate name, it's unique
Source Files ¶
- 20190801213442_create_apps_table.go
- 20190803171834_create_tokens_table.go
- 20190810180500_create_requests_table.go
- 20190813104829_update_requests_table.go
- 20190815123546_create_chunks_table.go
- 20190816152340_create_objects_table.go
- 20190816152349_create_object_chunk_table.go
- 20190820111006_create_files_table.go
- 20190821193012_create_histories_table.go