mirror of
https://github.com/uptrace/go-clickhouse.git
synced 2025-06-10 23:27:25 +02:00
chore: add comment
This commit is contained in:
parent
31f2e731ad
commit
2f4c7cc3ca
@ -45,6 +45,7 @@ func NewSQLMigrationFunc(fsys fs.FS, name string) MigrationFunc {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Exec reads and executes the SQL migration in the f.
|
||||||
func Exec(ctx context.Context, db *ch.DB, f io.Reader) error {
|
func Exec(ctx context.Context, db *ch.DB, f io.Reader) error {
|
||||||
scanner := bufio.NewScanner(f)
|
scanner := bufio.NewScanner(f)
|
||||||
var queries []string
|
var queries []string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user