Skip to content
joetm edited this page Nov 11, 2015 · 1 revision

Database schema

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.

  1. SameAs-Lite
  2. Concepts
  3. Server Requirements
    1. Requirements
    2. Dependency Installation
  4. Installation & Configuration
    1. Environment Configuration
    2. SameAs Configuration
    3. Sample Data
  5. [Data Stores](Data Stores)
  6. Usage
    1. Web Usage
    2. API
    3. [API Examples](API Examples)
    4. Scripting
  7. Contributing to SameAs-Lite
    1. [Setting up a development environment](Setting up a development environment)
    2. [Coding Standards](Coding Standards)
    3. [Day-to-Day Development](Day-to-Day Development)
  8. [Open Source Governance](Open Source Governance)
  9. Support
  10. [Getting In Touch](Getting In Touch)
  11. [Legal Information](Legal Information)

Clone this wiki locally