fediblog/migrations/2023-10-17-164429_posts_add_blog_ref/up.sql

9 lines
224 B
MySQL
Raw Normal View History

-- SPDX-FileCopyrightText: 2023 Louis Hollingworth <louis@hollingworth.nl>
--
-- SPDX-License-Identifier: AGPL-3.0-or-later
-- Your SQL goes here
ALTER TABLE posts
ADD COLUMN blog_id INTEGER NOT NULL REFERENCES blogs(id);