Documentation ¶
Index ¶
Constants ¶
View Source
const ( TABLE_NAME = "migrations" QUERY_CREATE_TABLE = `CREATE TABLE %s ( version VARCHAR(255) NOT NULL DEFAULT 0 ); INSERT INTO migrations (version) VALUES (0);` QUERY_UPDATE_VERSION = "UPDATE %s SET version=%d" ERROR_EQUAL_VERSION = "current version %d equals current" )
View Source
const (
SELECT_VERSION = "SELECT version FROM migrations"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.