y3_6_201911261109

package
v0.0.0-...-cb472e6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateTableOptions = []struct {
	TableName  string
	TableIndex []types.Index
}{
	{
		TableName: common.BKTableNameChartConfig,
		TableIndex: []types.Index{
			{Keys: map[string]int32{"config_id": 1}, Name: "config_id", Unique: true, Background: true},
			{Name: common.BKObjIDField, Keys: map[string]int32{"bk_obj_id": 1}, Background: true},
		},
	},
	{
		TableName: common.BKTableNameChartPosition,
		TableIndex: []types.Index{
			{Name: "bk_biz_id", Keys: map[string]int32{"bk_biz_id": 1}, Background: true},
		},
	},
	{
		TableName:  common.BKTableNameChartData,
		TableIndex: []types.Index{},
	},
}

Functions

func CreateTables

func CreateTables(ctx context.Context, db dal.RDB, conf *upgrader.Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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