Documentation
¶
Index ¶
- Variables
- func Psql() (err error)
- type Db
- func (Db) Converge() (err error)
- func (Db) Create() error
- func (Db) Down() error
- func (Db) Drop() error
- func (Db) Dump() error
- func (Db) Fix() error
- func (Db) Gen() (err error)
- func (db Db) Migrate() (err error)
- func (Db) New(name string) error
- func (Db) Reset() error
- func (Db) Seed() error
- func (Db) Up() error
Constants ¶
This section is empty.
Variables ¶
View Source
var AnteConvergenceScripts = []string{ filepath.Join("db", "ante-schema.sql"), }
AnteConvergenceScripts is the DDL script files applied before the schema is converged.
View Source
var LoadEnv = func() {}
View Source
var PostConvergenceScripts = []string{ filepath.Join("db", "post-schema.sql"), }
PostConvergenceScripts is the DDL script files applied after the schema is converged.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.