Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
Migrate runs the migrations in the directory on the given filesystem against the provided database.
Record of the migrations running will be stored in the `migrations` table which is created if necessary.
Each migration is transactional but running all the migrations is not. If the migrations fail part way through the ones that have already successfully run won't be rolled back. Their record of running will have been stored though so the migration won't be re-run on retry.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.