-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Description
I ran the following commands to obtain a SQLite database for the Bundesliga:
gem install sportdb
# I couldn't run sportdb new de without the following extra dependencies
gem install sportdb-langs sportdb-service
sportdb new de
I then uploaded the resulting SQLite file to my research project, which has a database visualisation component. The resulting visual schema doesn't look like it detected any foreign keys (image behind link).
I then briefly checked the leagues table and it doesn't seem to specify any foreign key.
CREATE TABLE "leagues" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"key" varchar NOT NULL,
"title" varchar NOT NULL,
"country_id" integer,
"club" boolean NOT NULL DEFAULT 0,
"created_at" datetime(6) NOT NULL,
"updated_at" datetime(6) NOT NULL
);
Reactions are currently unavailable