Documentation ¶
Overview ¶
Package ddl provides the Sqlite data definition language (DDL) for Vela.
https://en.wikipedia.org/wiki/Data_definition_language
Usage:
import "github.com/go-vela/server/database/sqlite/ddl"
Index ¶
Constants ¶
View Source
const ( // CreateBuildTable represents a query to // create the builds table for Vela. CreateBuildTable = `` /* 825-byte string literal not displayed */ // CreateBuildRepoIDIndex represents a query to create an // index on the builds table for the repo_id column. CreateBuildRepoIDIndex = ` CREATE INDEX IF NOT EXISTS builds_repo_id ON builds (repo_id); ` // CreateBuildStatusIndex represents a query to create an // index on the builds table for the status column. CreateBuildStatusIndex = ` CREATE INDEX IF NOT EXISTS builds_status ON builds (status); ` // CreateBuildCreatedIndex represents a query to create an // index on the builds table for the created column. CreateBuildCreatedIndex = ` CREATE INDEX IF NOT EXISTS builds_created ON builds (created); ` // CreateBuildSourceIndex represents a query to create an // index on the builds table for the source column. CreateBuildSourceIndex = ` CREATE INDEX IF NOT EXISTS builds_source ON builds (source); ` )
View Source
const ( // CreateServiceTable represents a query to // create the services table for Vela. CreateServiceTable = `` /* 433-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.