feat(db): Adding identity_providers table for relational database

This commit is contained in:
Iraq Jaber
2025-07-17 15:48:27 +01:00
parent 54654ecd55
commit de0fd8d588
6 changed files with 47 additions and 30 deletions

View File

@@ -84,7 +84,7 @@ type InstanceRepository interface {
// Member() MemberRepository
Get(ctx context.Context, id string) (*Instance, error)
List(ctx context.Context, opts ...database.Condition) ([]*Instance, error)
List(ctx context.Context, conditions ...database.Condition) ([]*Instance, error)
Create(ctx context.Context, instance *Instance) error
Update(ctx context.Context, id string, changes ...database.Change) (int64, error)

View File

@@ -37,7 +37,7 @@ type organizationColumns interface {
IDColumn() database.Column
// NameColumn returns the column for the name field.
NameColumn() database.Column
// InstanceIDColumn returns the column for the default org id field
// InstanceIDColumn returns the column for the instance id field
InstanceIDColumn() database.Column
// StateColumn returns the column for the name field.
StateColumn() database.Column