mirror of https://github.com/zer0bin-dev/zer0bin
Remove single_view from schema.sql, migrator will create this
This commit is contained in:
parent
fd6b91977b
commit
de58aa84c2
|
@ -2,7 +2,6 @@ CREATE TABLE IF NOT EXISTS pastes (
|
||||||
"id" TEXT PRIMARY KEY,
|
"id" TEXT PRIMARY KEY,
|
||||||
"content" TEXT NOT NULL,
|
"content" TEXT NOT NULL,
|
||||||
"views" BIGINT DEFAULT 0,
|
"views" BIGINT DEFAULT 0,
|
||||||
"single_view" BOOLEAN DEFAULT false,
|
|
||||||
"expires_at" TIMESTAMP WITHOUT TIME ZONE,
|
"expires_at" TIMESTAMP WITHOUT TIME ZONE,
|
||||||
"created_at" TIMESTAMP WITHOUT TIME ZONE DEFAULT(NOW() AT TIME ZONE 'utc')
|
"created_at" TIMESTAMP WITHOUT TIME ZONE DEFAULT(NOW() AT TIME ZONE 'utc')
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue