15131b72f0
Adds the missing rate_limit table that Better Auth v1.5.6 requires when rateLimit.storage is set to 'database'. Without this table, all auth endpoints return HTTP 500. Also includes GRO-566: SKIP_OOBE env var to bypass setup wizard in dev/test. cc @cpfarhood
7 lines
166 B
SQL
7 lines
166 B
SQL
-- Better-Auth rate limiting table (GRO-574)
|
|
CREATE TABLE "rate_limit" (
|
|
key TEXT NOT NULL PRIMARY KEY,
|
|
count INTEGER NOT NULL,
|
|
last_request BIGINT NOT NULL
|
|
);
|