24 lines
1.7 KiB
MySQL
24 lines
1.7 KiB
MySQL
|
INSERT INTO Users (name, email, authType, salt, hashedPWSalt) VALUES ("Evan", "evan@reichard.io", "Local", "1234", "1234");
|
||
|
INSERT INTO Users (name, email, authType, salt, hashedPWSalt) VALUES ("James", "james@example.com", "Local", "1234", "1234");
|
||
|
INSERT INTO Users (name, email, authType, salt, hashedPWSalt) VALUES ("Bill", "bill@example.com", "Local", "1234", "1234");
|
||
|
|
||
|
INSERT INTO MediaItems (userID, EXIFDate, uploadDate, latitude, longitude, mediaType, relPath) VALUES (1, "2012-03-29T10:05:45-06:00", "2012-03-29T10:05:45-06:00", "38.94141753254032", "-77.45238664604386", 0, "/image1.jpg");
|
||
|
INSERT INTO MediaItems (userID, EXIFDate, uploadDate, latitude, longitude, mediaType, relPath) VALUES (2, "2013-03-29T10:05:45-06:00", "2013-03-29T10:05:45-06:00", "38.94141753254032", "-77.45238664604386", 0, "/image2.jpg");
|
||
|
INSERT INTO MediaItems (userID, EXIFDate, uploadDate, latitude, longitude, mediaType, relPath) VALUES (3, "2014-03-29T10:05:45-06:00", "2014-03-29T10:05:45-06:00", "38.94141753254032", "-77.45238664604386", 0, "/image3.jpg");
|
||
|
|
||
|
INSERT INTO Tags (name) VALUES ("cars");
|
||
|
INSERT INTO Tags (name) VALUES ("dogs");
|
||
|
INSERT INTO Tags (name) VALUES ("places");
|
||
|
|
||
|
INSERT INTO Albums (userID, name) VALUES (1, "My Favorite Things");
|
||
|
INSERT INTO Albums (userID, name) VALUES (2, "Trip 2020");
|
||
|
INSERT INTO Albums (userID, name) VALUES (3, "Corona 2020");
|
||
|
|
||
|
INSERT INTO MediaTags (mediaID, tagID) VALUES (1, 3);
|
||
|
INSERT INTO MediaTags (mediaID, tagID) VALUES (2, 2);
|
||
|
INSERT INTO MediaTags (mediaID, tagID) VALUES (3, 1);
|
||
|
|
||
|
INSERT INTO MediaAlbums (mediaID, albumID) VALUES (1, 3);
|
||
|
INSERT INTO MediaAlbums (mediaID, albumID) VALUES (2, 2);
|
||
|
INSERT INTO MediaAlbums (mediaID, albumID) VALUES (3, 1);
|