mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Move tempuser model to tempuser package (#61024)
* Move tempuser model to tempuser package * Add xorm tags for ID
This commit is contained in:
@@ -5,10 +5,10 @@ import (
|
||||
|
||||
"xorm.io/core"
|
||||
|
||||
"github.com/grafana/grafana/pkg/models"
|
||||
"github.com/grafana/grafana/pkg/services/sqlstore"
|
||||
"github.com/grafana/grafana/pkg/services/sqlstore/migrator"
|
||||
"github.com/grafana/grafana/pkg/services/sqlstore/session"
|
||||
tempuser "github.com/grafana/grafana/pkg/services/temp_user"
|
||||
)
|
||||
|
||||
type FakeDB struct {
|
||||
@@ -52,6 +52,6 @@ func (f *FakeDB) Quote(value string) string {
|
||||
}
|
||||
|
||||
// TODO: service-specific methods not yet split out ; to be removed
|
||||
func (f *FakeDB) UpdateTempUserWithEmailSent(ctx context.Context, cmd *models.UpdateTempUserWithEmailSentCommand) error {
|
||||
func (f *FakeDB) UpdateTempUserWithEmailSent(ctx context.Context, cmd *tempuser.UpdateTempUserWithEmailSentCommand) error {
|
||||
return f.ExpectedError
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user