Closed nelsonic closed 5 years ago
Before:
CREATE TABLE IF NOT EXISTS "logs" (
"id" SERIAL PRIMARY KEY,
"inserted_at" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
"path" VARCHAR(255) NOT NULL,
"next_page" VARCHAR(255) DEFAULT NULL
);
After:
CREATE TABLE IF NOT EXISTS "logs" (
"id" SERIAL PRIMARY KEY,
"inserted_at" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
"url" VARCHAR(255) NOT NULL,
"next_page" VARCHAR(255) DEFAULT NULL
);
Done ✅
At present we have a
url
field/column in theorgs
andrepos
tables: But inlogs
we still use the wordpath
this is an unnecessary confusion, let's rename/refactor.Todo
logs.path
withlogs.url
for consistency.