-
Notifications
You must be signed in to change notification settings - Fork 7
Creating tablespaces and tables
Data definition is done onchain. There is a smart contract containing all tablespaces, permissions, tables, fields and so on. You can use either smart contract directly or configure your tablespace via web interface: https://uiproto.tiesdb.com .
Each developer can have their own tablespace. The creator of tablespace specifies permissions on this tablespace for other users. The tablespace consists of a set of tables. Each table has schema - that is a set of fields and their types, indexes and triggers. Each table must specify one primary index. It can specify any number of secondary indexes.
The user interface is self-explanatory. However there are some caveats you should know.
As of Alpha version
- You must have Metamask installed and connected to Rinkeby network.
- Currently there is no permissions management, it will be added in the next release.
- Tables are not noticed by Ties.DB until they are finalized. So you can freely add or delete fields
- Once the table is finalized with the Distribute button in the table properties you can work with this table via Ties.DB. You will not be able to delete fields from this table from now on. You will not be able to remove primary index. However you can add new fields and modify secondary indexes and triggers.
If you find any bugs please feel free to report them here.
- Introduction
- Notes on latest release
- Setting up a node
- Creating tablespaces and tables
- Ties.DB protocol
- TiQL - Ties.DB query language
- NodeJS client