mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 08:11:20 +00:00
30 lines
498 B
SQL
30 lines
498 B
SQL
DROP VIEW user_alias_1, user_alias_2;
|
|
|
|
ALTER TABLE community
|
|
DROP COLUMN followers_url;
|
|
|
|
ALTER TABLE community
|
|
DROP COLUMN inbox_url;
|
|
|
|
ALTER TABLE community
|
|
DROP COLUMN shared_inbox_url;
|
|
|
|
ALTER TABLE user_
|
|
DROP COLUMN inbox_url;
|
|
|
|
ALTER TABLE user_
|
|
DROP COLUMN shared_inbox_url;
|
|
|
|
-- Views are the same as before, except `*` does not reference the dropped columns
|
|
CREATE VIEW user_alias_1 AS
|
|
SELECT
|
|
*
|
|
FROM
|
|
user_;
|
|
|
|
CREATE VIEW user_alias_2 AS
|
|
SELECT
|
|
*
|
|
FROM
|
|
user_;
|
|
|