Versions in this module Expand all Collapse all v0 v0.14.0 Dec 18, 2024 Changes in this version + func CreateEventJSONTable(db *sql.DB) error + func CreateEventStateKeysTable(db *sql.DB) error + func CreateEventTypesTable(db *sql.DB) error + func CreateEventsTable(db *sql.DB) error + func CreateInvitesTable(db *sql.DB) error + func CreateMembershipTable(db *sql.DB) error + func CreatePrevEventsTable(db *sql.DB) error + func CreatePublishedTable(db *sql.DB) error + func CreateRedactionsTable(db *sql.DB) error + func CreateReportedEventsTable(db *sql.DB) error + func CreateRoomAliasesTable(db *sql.DB) error + func CreateRoomsTable(db *sql.DB) error + func CreateStateBlockTable(db *sql.DB) error + func CreateStateSnapshotTable(db *sql.DB) error + func CreateUserRoomKeysTable(db *sql.DB) error + func PrepareEventJSONTable(db *sql.DB) (tables.EventJSON, error) + func PrepareEventStateKeysTable(db *sql.DB) (tables.EventStateKeys, error) + func PrepareEventTypesTable(db *sql.DB) (tables.EventTypes, error) + func PrepareEventsTable(db *sql.DB) (tables.Events, error) + func PrepareInvitesTable(db *sql.DB) (tables.Invites, error) + func PrepareMembershipTable(db *sql.DB) (tables.Membership, error) + func PreparePrevEventsTable(db *sql.DB) (tables.PreviousEvents, error) + func PreparePublishedTable(db *sql.DB) (tables.Published, error) + func PreparePurgeStatements(db *sql.DB) (*purgeStatements, error) + func PrepareRedactionsTable(db *sql.DB) (tables.Redactions, error) + func PrepareReportedEventsTable(db *sql.DB) (tables.ReportedEvents, error) + func PrepareRoomAliasesTable(db *sql.DB) (tables.RoomAliases, error) + func PrepareRoomsTable(db *sql.DB) (tables.Rooms, error) + func PrepareStateBlockTable(db *sql.DB) (tables.StateBlock, error) + func PrepareStateSnapshotTable(db *sql.DB) (*stateSnapshotStatements, error) + func PrepareUserRoomKeysTable(db *sql.DB) (tables.UserRoomKeys, error) + type Database struct + func Open(ctx context.Context, conMan *sqlutil.Connections, ...) (*Database, error)