mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-17 15:31:19 +01:00
Move README into synapse/storage/__init__.py
This commit is contained in:
parent
acf47c7698
commit
1bbc5444a8
2 changed files with 12 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
||||||
Storage Layer
|
|
||||||
=============
|
|
||||||
|
|
||||||
The storage layer is split up into multiple parts to allow Synapse to run
|
|
||||||
against different configurations of databases (e.g. single or multiple
|
|
||||||
databases). The `data_stores` are classes that talk directly to a single
|
|
||||||
database and have associated schemas, background updates, etc. On top of those
|
|
||||||
there are (or will be) classes that provide high level interfaces that combine
|
|
||||||
calls to multiple `data_stores`.
|
|
||||||
|
|
||||||
There are also schemas that get applied to every database, regardless of the
|
|
||||||
data stores associated with them (e.g. the schema version tables), which are
|
|
||||||
stored in `synapse.storage.schema`.
|
|
|
@ -14,6 +14,18 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
"""
|
||||||
|
The storage layer is split up into multiple parts to allow Synapse to run
|
||||||
|
against different configurations of databases (e.g. single or multiple
|
||||||
|
databases). The `data_stores` are classes that talk directly to a single
|
||||||
|
database and have associated schemas, background updates, etc. On top of those
|
||||||
|
there are (or will be) classes that provide high level interfaces that combine
|
||||||
|
calls to multiple `data_stores`.
|
||||||
|
|
||||||
|
There are also schemas that get applied to every database, regardless of the
|
||||||
|
data stores associated with them (e.g. the schema version tables), which are
|
||||||
|
stored in `synapse.storage.schema`.
|
||||||
|
"""
|
||||||
|
|
||||||
from synapse.storage.data_stores.main import DataStore # noqa: F401
|
from synapse.storage.data_stores.main import DataStore # noqa: F401
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue