mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-12 08:00:04 +01:00
Implement rollback command
This commit is contained in:
parent
ece5d3cf0e
commit
1c4cf2c122
4 changed files with 138 additions and 25 deletions
|
|
@ -14,7 +14,7 @@ type Driver interface {
|
|||
CreateDatabase(*url.URL) error
|
||||
DropDatabase(*url.URL) error
|
||||
CreateMigrationsTable(*sql.DB) error
|
||||
SelectMigrations(*sql.DB) (map[string]struct{}, error)
|
||||
SelectMigrations(*sql.DB, int) (map[string]struct{}, error)
|
||||
InsertMigration(shared.Transaction, string) error
|
||||
DeleteMigration(shared.Transaction, string) error
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue