# Functions
Clear database tables for all registered models.
Initialize initializes the database.
Migrate migrates the database.
NewStore returns a new store that implements store.TransactionalStore.
Open a new database connection.
# Structs
AccessToken is the OAuth access token model in the database.
Account is the account model in the database.
APIKey is the API key model in the database.
Application is the application model in the database.
Attribute is the attribute model in the database.
AuthorizationCode is the OAuth authorization code model in the database.
Client is the client model in the database.
ClientAuthorization is the OAuth client authorization model in the database.
ContactInfo is the contact info model in the database.
ContactInfoValidation is the contact info validation model in the database.
DBMetadata wraps the database metadata needed to distinguish between PostgreSQL and CockroachDB.
EmailValidation is the contact info validation model in the database.
EmbeddedAccount contains the account fields that are embedded into User and Organization when loading them through the user_accounts and organization_accounts views.
EndDevice is the end_device model in the database.
EndDeviceLocation is the end device location model in the database.
EUIBlock is the EUI block model in the database.
Gateway is the gateway model in the database.
GatewayAntenna is the gateway antenna model in the database.
Invitation is the invitation model in the database.
Location can be embedded in other models to add location columns.
LoginToken is the login token model in the database.
Membership is the membership model in the database.
Model is the base model for most of our types.
Notification is the notification model in the database.
NotificationReceiver is the notification receiver model in the database.
Organization is the organization model in the database.
Picture is the picture model in the database.
SoftDelete can be embedded in models that should have soft delete functionality.
Store is the combined store of all the individual stores.
User is the user model in the database.
UserBookmarks is the user_bookmarks model in the database.
UserSession is the user session model in the database.
UUID can be embedded in models that should have a UUID field.
# Type aliases
AttributeSlice is a slice of Attributes.
ContactInfoSlice is a slice of ContactInfo.
EndDeviceLocationSlice is a slice of EndDeviceLocation.
GatewayAntennaSlice is a slice of GatewayAntenna.