Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions db/migrations/20231222134745_create_pastes.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- +micrate Up
-- SQL in section 'Up' is executed when this migration is applied
CREATE TABLE IF NOT EXISTS pastes (
id BIGSERIAL PRIMARY KEY,
id INTEGER NOT NULL PRIMARY KEY,
sha256 TEXT UNIQUE NOT NULL,
ext TEXT NOT NULL,
mime TEXT NOT NULL,
Expand All @@ -21,4 +21,4 @@ CREATE TABLE IF NOT EXISTS pastes (

-- +micrate Down
-- SQL section 'Down' is executed when this migration is rolled back
DROP TABLE IF EXISTS pastes;
DROP TABLE IF EXISTS pastes;