-
Notifications
You must be signed in to change notification settings - Fork 1
Data Stores
joetm edited this page Nov 11, 2015
·
1 revision
sameAs Lite stores equivalent symbols within a single database table which associates an URI with its canon. The schema of this table is as follows:
For MySQL:
+--------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+--------------+------+-----+---------+-------+
| canon | varchar(256) | YES | MUL | NULL | |
| symbol | varchar(256) | NO | PRI | | |
+--------+--------------+------+-----+---------+-------+
For SQLite:
+--------+------+-----+
| Field | Type | Key |
+--------+------+-----+
| canon | TEXT | |
| symbol | TEXT | PRI |
+--------+---- -+-----+
A database index is created on canon.
- SameAs-Lite
- Concepts
- Server Requirements
- Installation & Configuration
- [Data Stores](Data Stores)
- Usage
- Contributing to SameAs-Lite
- [Setting up a development environment](Setting up a development environment)
- [Coding Standards](Coding Standards)
- [Day-to-Day Development](Day-to-Day Development)
- [Open Source Governance](Open Source Governance)
- Support
- [Getting In Touch](Getting In Touch)
- [Legal Information](Legal Information)