We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a51241 commit 4254b18Copy full SHA for 4254b18
.env
@@ -1,2 +1,2 @@
1
SECRET_KEY="SECRETFORMYPROJECT007"
2
-DATABASE_URL=postgresql://tirion:1234@localhost:5432/hexlet
+DATABASE_URL=postgresql://tirion:1234@localhost:5432/mydb
database.sql
@@ -1,7 +1,7 @@
CREATE TABLE IF NOT EXISTS urls (
id SERIAL PRIMARY KEY,
3
name VARCHAR(255) UNIQUE NOT NULL,
4
- created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
+ created_at DATE DEFAULT CURRENT_DATE
5
);
6
7
CREATE TABLE IF NOT EXISTS url_checks (
@@ -11,5 +11,5 @@ CREATE TABLE IF NOT EXISTS url_checks (
11
h1 TEXT,
12
title TEXT,
13
description TEXT,
14
15
0 commit comments