added a bunch of stuff
This commit is contained in:
1 parent
5aaf6ede5d
commit
95c4dc96f6
26 files changed
+362
-27
No files matched your search
@@ -0,0 +1 @@
|
||||
SELECT * FROM albums WHERE id = ?;
|
||||
@@ -0,0 +1 @@
|
||||
SELECT * FROM albums WHERE name = ?;
|
||||
@@ -1,3 +0,0 @@
|
||||
SELECT *
|
||||
FROM albums
|
||||
WHERE name = ?;
|
||||
@@ -0,0 +1 @@
|
||||
SELECT * FROM artists WHERE id = ?;
|
||||
@@ -1,3 +0,0 @@
|
||||
SELECT *
|
||||
FROM artists
|
||||
WHERE name = ?;
|
||||
@@ -0,0 +1 @@
|
||||
SELECT id FROM songs ORDER BY id DESC LIMIT 1;
|
||||
@@ -1,4 +0,0 @@
|
||||
SELECT *
|
||||
FROM songs
|
||||
ORDER BY id
|
||||
DESC LIMIT 1;
|
||||
@@ -0,0 +1 @@
|
||||
SELECT * FROM songs WHERE id = ?;
|
||||
@@ -0,0 +1 @@
|
||||
SELECT * FROM songs WHERE musicBrainzId = ?;
|
||||
@@ -0,0 +1 @@
|
||||
SELECT * FROM songs WHERE name = ? ORDER BY id ASC;
|
||||
@@ -1,4 +0,0 @@
|
||||
SELECT *
|
||||
FROM songs
|
||||
WHERE name = ?
|
||||
AND artist = ?;
|
||||
@@ -1,3 +0,0 @@
|
||||
SELECT *
|
||||
FROM users
|
||||
WHERE name = ?;
|
||||
@@ -1,3 +1 @@
|
||||
INSERT INTO
|
||||
albums (name, spotify_id, cover_art_url)
|
||||
VALUES (?, ?, ?);
|
||||
INSERT INTO albums (id, name, musicBrainzId, cover_art_url) VALUES (?, ?, ?, ?);
|
||||
@@ -1,3 +1 @@
|
||||
INSERT INTO
|
||||
artists (name, spotify_id, icon_url)
|
||||
VALUES (?, ?, ?);
|
||||
INSERT INTO artists (id, name, musicBrainzId, icon_url) VALUES (?, ?, ?, ?);
|
||||
@@ -0,0 +1 @@
|
||||
INSERT INTO "listen-events" (sond_id, user_id, date, time) VALUES (?, ?, ?, ?);
|
||||
+1
-4
@@ -1,4 +1 @@
|
||||
-- With Spotify Id
|
||||
INSERT INTO
|
||||
songs (id, name, length, album, artist, spotify_id)
|
||||
VALUES (?, ?, ?, ?, ?, ?);
|
||||
INSERT INTO songs (id, name, length, album_id, artist_id, musicBrainzId) VALUES (?, ?, ?, ?, ?, ?);
|
||||
Reference in new issue
Block a user