more fixes and update of translations database
This commit is contained in:
@@ -49,7 +49,7 @@ const (
|
||||
|
||||
// TableName specifies the table name for User model
|
||||
func (Customer) TableName() string {
|
||||
return "customers"
|
||||
return "b2b_customers"
|
||||
}
|
||||
|
||||
// IsAdmin checks if the user has admin role
|
||||
@@ -140,5 +140,5 @@ type RefreshToken struct {
|
||||
|
||||
// TableName specifies the table name for RefreshToken model
|
||||
func (RefreshToken) TableName() string {
|
||||
return "refresh_tokens"
|
||||
return "b2b_refresh_tokens"
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ type Translation struct {
|
||||
}
|
||||
|
||||
func (Translation) TableName() string {
|
||||
return "translations"
|
||||
return "b2b_translations"
|
||||
}
|
||||
|
||||
type Language struct {
|
||||
@@ -45,7 +45,7 @@ type Language struct {
|
||||
}
|
||||
|
||||
func (Language) TableName() string {
|
||||
return "language"
|
||||
return "b2b_language"
|
||||
}
|
||||
|
||||
type Component struct {
|
||||
@@ -54,7 +54,7 @@ type Component struct {
|
||||
}
|
||||
|
||||
func (Component) TableName() string {
|
||||
return "components"
|
||||
return "b2b_components"
|
||||
}
|
||||
|
||||
type Scope struct {
|
||||
@@ -63,5 +63,5 @@ type Scope struct {
|
||||
}
|
||||
|
||||
func (Scope) TableName() string {
|
||||
return "scopes"
|
||||
return "b2b_scopes"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user