Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSchemaTable ¶
AddSchemaTable Add schema prefix to the queries
func NewPgMultiSchemaStorage ¶
func NewPgMultiSchemaStorage() *pgMultiSchemaStorage
Types ¶
type ItemsDB ¶
type MetadataDB ¶
type MetadataDB struct { WalletId string `gorm:"column:wallet_id;primary_key"` Value string `gorm:"column:value;not null"` // this comes as a base64 encoded json }
Tables definitions
func (*MetadataDB) TableName ¶
func (m *MetadataDB) TableName() string
type TagsEncryptedDB ¶
type TagsEncryptedDB struct { WalletId string `gorm:"column:wallet_id;primaryKey"` Name string `gorm:"column:name;primaryKey"` Value string `gorm:"column:value"` ItemId int64 `gorm:"column:item_id;primaryKey;auto_increment:false;not null"` }
func (*TagsEncryptedDB) TableName ¶
func (te *TagsEncryptedDB) TableName() string
type TagsPlaintextDB ¶
type TagsPlaintextDB struct { WalletId string `gorm:"column:wallet_id;primaryKey"` Name string `gorm:"column:name;primaryKey;not null"` Value string `gorm:"column:value"` ItemId int64 `gorm:"column:item_id;primaryKey;auto_increment:false;not null"` }
func (*TagsPlaintextDB) TableName ¶
func (tp *TagsPlaintextDB) TableName() string
Click to show internal directories.
Click to hide internal directories.