website/migrations/20240330145505_posts.up.sql

12 lines
293 B
MySQL
Raw Normal View History

2024-03-30 15:06:34 +00:00
-- Add up migration script here
CREATE TABLE IF NOT EXISTS posts (
2024-03-30 00:52:46 +00:00
id UUID NOT NULL UNIQUE,
title TEXT NOT NULL,
descr TEXT NOT NULL,
img_url TEXT NOT NULL,
origin_url TEXT NOT NULL,
2024-03-30 17:11:07 +00:00
original_request TEXT NOT NULL,
2024-03-30 17:14:58 +00:00
posted_on BIGINT NOT NULL,
2024-03-30 00:52:46 +00:00
PRIMARY KEY (id)
)