-- Generated by Drydock from DATABASE.md. Edit the declaration, not this file.
CREATE TABLE IF NOT EXISTS "rates" ("id" INTEGER PRIMARY KEY, "date" TEXT NOT NULL, "currency" TEXT NOT NULL, "rate" TEXT NOT NULL, UNIQUE ("date", "currency"));
CREATE INDEX IF NOT EXISTS "rates_date_idx" ON "rates" ("date");
CREATE INDEX IF NOT EXISTS "rates_currency_date_idx" ON "rates" ("currency", "date");
Run artifact