Open pixelspark opened 7 years ago
See SQLite documentation. Most importantly, creation of foreign keys needs to be supported for the CREATE TABLE statement:
CREATE TABLE
CREATE TABLE album( albumartist TEXT, albumname TEXT, albumcover BINARY, PRIMARY KEY(albumartist, albumname) ); CREATE TABLE song( songid INTEGER, songartist TEXT, songalbum TEXT, songname TEXT, FOREIGN KEY(songartist, songalbum) REFERENCES album(albumartist, albumname) );
See SQLite documentation. Most importantly, creation of foreign keys needs to be supported for the
CREATE TABLE
statement: