# 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 # - users, topics, subscriptions, messages and extension tables # - 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.