Database: Species #30
Notifications
Due Date
No due date set.
Blocks
#19 Database
Ugric/Komodo-Hub
Reference: Ugric/Komodo-Hub#30
Reference in new issue
Block a user
We need a table in the database for all the species on the site, it needs to contain:
species (
species_id INTEGER PRIMARY KEY AUTOINCREMENT,
species_english TEXT,
species_latin TEXT,
body_text TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
)
Also needs category field
here is the database files, download the one you want
Current schema for species table:
species (
species_id INTEGER PRIMARY KEY AUTOINCREMENT,
species_english TEXT,
species_latin TEXT,
body_text TEXT,
category TEXT,
extinction_risk TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
photoid TEXT
)
Tentatively marked as completed