CREATE TABLE IF NOT EXISTS post_views (
    id BIGINT NOT NULL PRIMARY KEY,
    created BIGINT NOT NULL,
    owner BIGINT NOT NULL REFERENCES users(id) ON DELETE CASCADE,
    post BIGINT NOT NULL REFERENCES posts(id) ON DELETE CASCADE
)
