mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-17 21:37:35 +00:00
24 lines
386 B
Go
24 lines
386 B
Go
package setup
|
|
|
|
import (
|
|
"embed"
|
|
|
|
"github.com/zitadel/zitadel/internal/database"
|
|
)
|
|
|
|
var (
|
|
//go:embed 04/cockroach/index.sql
|
|
//go:embed 04/postgres/index.sql
|
|
stmts04 embed.FS
|
|
)
|
|
|
|
func New04(db *database.DB) *EventstoreIndexesNew {
|
|
return &EventstoreIndexesNew{
|
|
dbClient: db,
|
|
name: "04_eventstore_indexes",
|
|
step: "04",
|
|
fileName: "index.sql",
|
|
stmts: stmts04,
|
|
}
|
|
}
|