mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-13 21:51:28 +08:00

All necessary changes so that whatever initalize SQL commans run, they are moved to bun so that it works with both sqlite and postgres.
11 lines
207 B
Go
11 lines
207 B
Go
package dao
|
|
|
|
import (
|
|
"go.signoz.io/signoz/ee/query-service/dao/sqlite"
|
|
"go.signoz.io/signoz/pkg/sqlstore"
|
|
)
|
|
|
|
func InitDao(sqlStore sqlstore.SQLStore) (ModelDao, error) {
|
|
return sqlite.InitDB(sqlStore)
|
|
}
|