mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-25 14:30:24 +01:00
tweaked automigrate to check for git status and extracted the base flags from the plugins
This commit is contained in:
1 parent
8c9b657132
commit
675d459137
11 files changed
+170
-367
No files matched your search
@@ -13,8 +13,9 @@ import (
|
||||
|
||||
// MigrationsLoaderOptions defines optional struct to customize the default plugin behavior.
|
||||
type MigrationsLoaderOptions struct {
|
||||
// Dir is the app migrations directory from where the js files will be loaded
|
||||
// (default to pb_data/migrations)
|
||||
// Dir specifies the directory with the JS migrations.
|
||||
//
|
||||
// If not set it fallbacks to a relative "pb_data/../pb_migrations" directory.
|
||||
Dir string
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user