aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-10-28 08:05:14 +0000
committerlain <lain@soykaf.club>2019-10-28 08:05:14 +0000
commite80f90e9dbdb6955e355d6a06eb69ee7051ba6df (patch)
treed1b8733458461f128cf9d1549314a8d882d5d8e0
parent248020075982a18534aebec3ff63eee0ae6185f4 (diff)
parent3c86a0ab247acf0c037285fb4d22d47d335fe4c1 (diff)
downloadpleroma-e80f90e9dbdb6955e355d6a06eb69ee7051ba6df.tar.gz
Merge branch 'fix/migration' into 'develop'
Fix `SetNotNullForUsers` migration See merge request pleroma/pleroma!1913
-rw-r--r--priv/repo/migrations/20191026191910_set_not_null_for_users.exs2
1 files changed, 0 insertions, 2 deletions
diff --git a/priv/repo/migrations/20191026191910_set_not_null_for_users.exs b/priv/repo/migrations/20191026191910_set_not_null_for_users.exs
index f145a89ab..9d8d0ccf8 100644
--- a/priv/repo/migrations/20191026191910_set_not_null_for_users.exs
+++ b/priv/repo/migrations/20191026191910_set_not_null_for_users.exs
@@ -8,7 +8,6 @@ defmodule Pleroma.Repo.Migrations.SetNotNullForUsers do
execute("UPDATE users SET follower_count = 0 WHERE follower_count IS NULL")
execute("ALTER TABLE users
- ALTER COLUMN following SET NOT NULL,
ALTER COLUMN local SET NOT NULL,
ALTER COLUMN source_data SET NOT NULL,
ALTER COLUMN note_count SET NOT NULL,
@@ -27,7 +26,6 @@ defmodule Pleroma.Repo.Migrations.SetNotNullForUsers do
def down do
execute("ALTER TABLE users
- ALTER COLUMN following DROP NOT NULL,
ALTER COLUMN local DROP NOT NULL,
ALTER COLUMN source_data DROP NOT NULL,
ALTER COLUMN note_count DROP NOT NULL,