mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-12 09:17:27 +02:00
call transaction Dao events only after commit, added totalPages to the search response and updated the tests
This commit is contained in:
1 parent
8288da8372
commit
f8f785d6e3
9 files changed
+88
-78
No files matched your search
@@ -37,9 +37,8 @@ func NewRunner(db *dbx.DB, migrationsList MigrationsList) (*Runner, error) {
|
||||
// Run interactively executes the current runner with the provided args.
|
||||
//
|
||||
// The following commands are supported:
|
||||
// - up - applies all migrations
|
||||
// - down [n] - reverts the last n applied migrations
|
||||
// - create NEW_MIGRATION_NAME - create NEW_MIGRATION_NAME.go file from a migration template
|
||||
// - up - applies all migrations
|
||||
// - down [n] - reverts the last n applied migrations
|
||||
func (r *Runner) Run(args ...string) error {
|
||||
cmd := "up"
|
||||
if len(args) > 0 {
|
||||
|
||||
Reference in new issue
Block a user