23 lines
877 B
SQL
23 lines
877 B
SQL
# THIS SCHEMA FILE IS FOR REFERENCE/DOCUMENTATION ONLY.
|
|
# DO NOT USE IT TO INITIALIZE THE DATABASE.
|
|
|
|
'READ INSTALLATION INSTRUCTIONS!';
|
|
|
|
# Current MySQL initialization is generated by server/db/mysql/adapter.go:
|
|
#
|
|
# - Control database: hotgo
|
|
# - im_tenant
|
|
# - im_tenant_config
|
|
#
|
|
# - Default tenant business database: tinode
|
|
# - im_users, im_topics, im_subscriptions, im_messages and extension tables
|
|
# - im_http_idempotency and im_business_events_outbox for reliable HTTP writes
|
|
# - business tables do not store tenant_id in independent-database mode
|
|
#
|
|
# The previous shared-table tenant_id draft has been removed from this file to
|
|
# avoid accidental execution. If standalone SQL initialization scripts are
|
|
# needed later, split them explicitly into:
|
|
#
|
|
# - registry_schema.sql for the hotgo control database.
|
|
# - tenant_schema.sql for every tenant business database.
|