Documentation ¶
Index ¶
Constants ¶
View Source
const ( MIGRATION_EXISTS = `select * from gapi_migrations where rownum = 1` MIGRATION_ALREADY_RUN = `select COUNT(*) from gapi_migrations where id = :id` CREATE_MIGRATIONS_TABLE = `create table gapi_migrations ( id VARCHAR2(255), created_at DATE DEFAULT (sysdate) )` ADD_RUN_MIGRATION = `insert into gapi_migrations(id, created_at) values (:id, DEFAULT)` )
View Source
const RUN_MIGRATION_ENV_VAR = "RUN_MIGRATIONS"
Variables ¶
This section is empty.
Functions ¶
func MigrateOracle ¶
func MigrateOracle(connectionString string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.