Add first docs for Rattail DB, and POS / other data stores
This commit is contained in:
parent
95f91100d2
commit
5124196974
8 changed files with 156 additions and 7 deletions
18
docs/data/db/schema.rst
Normal file
18
docs/data/db/schema.rst
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
Core Schema
|
||||
===========
|
||||
|
||||
Rattail's core database schema contains all tables deemed "generic" enough to
|
||||
be potentially useful to "any" retail organization. Many of the tables may go
|
||||
unused by a particular org, but they will all be present, if the DB exists.
|
||||
Some of the tables are truly generic, and some may be specific to Rattail
|
||||
itself.
|
||||
|
||||
Assuming your DB is named "poser" you can see its table list like so:
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
sudo -u postgres psql -c '\d' poser
|
||||
|
||||
Note of course that this will show *all* tables in your DB, not just the core
|
||||
schema tables.
|
||||
Loading…
Add table
Add a link
Reference in a new issue