2823452198
* Added callers moulde * Code formatting * Added uuid dependency * Added queue_song endpoint * Added endpoint to router * Added dependencies for postgres * Added migrations directory * Added more code * Added migrations * Removed migration * Docker fixes * Updated gitignore * Updated env sample file * Endpoint url fix * Updated env sample * Updated docker file to copy migrations * Might undo later * Updated env sample and docker compose * Updated cargo dependencies * Saving changes * Workflow fix * Will need to take another look at the dependencies again * Added code * Test is not finished yet * Warning fix for now * Updated workflow to setup database * Workflow fix * Workflow fix attempt * Warning fix * Warning fix * Updated workflow * Added test files Might change later * Added more crates * Added more test code Not finished * Formatting * Close, but far * I believe it is now working * Formatting * Added more crates * Code cleanup * Code reformatting * Code cleanup * Crate cleanup * Cleanup
9 lines
259 B
SQL
9 lines
259 B
SQL
-- Add migration script here
|
|
CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
|
|
|
-- Table to store queued songs to process
|
|
CREATE TABLE IF NOT EXISTS "songQueue" (
|
|
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
filename TEXT NOT NULL,
|
|
data BYTEA NOT NULL
|
|
); |