diff --git a/internal/storage/bucket/migrations/25-accounts-volumes-index/notes.yaml b/internal/storage/bucket/migrations/25-accounts-volumes-index/notes.yaml new file mode 100644 index 000000000..621ded983 --- /dev/null +++ b/internal/storage/bucket/migrations/25-accounts-volumes-index/notes.yaml @@ -0,0 +1 @@ +name: Create accounts metadata index concurrently diff --git a/internal/storage/bucket/migrations/25-accounts-volumes-index/up.sql b/internal/storage/bucket/migrations/25-accounts-volumes-index/up.sql new file mode 100644 index 000000000..321c2b86b --- /dev/null +++ b/internal/storage/bucket/migrations/25-accounts-volumes-index/up.sql @@ -0,0 +1 @@ +create index concurrently accounts_volumes_idx on "{{.Schema}}".accounts_volumes (ledger, accounts_address, asset) include (input, output); diff --git a/pkg/generate/generator.go b/pkg/generate/generator.go index 395e049ea..c21108487 100644 --- a/pkg/generate/generator.go +++ b/pkg/generate/generator.go @@ -219,7 +219,6 @@ func NewGenerator(script string, opts ...Option) (*Generator, error) { } err = runtime.Set("read_file", func(path string) string { - fmt.Println("read file", path) f, err := os.ReadFile(filepath.Join(cfg.rootPath, path)) if err != nil { panic(err)