mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-23 05:56:29 +00:00
21 lines
644 B
Python
21 lines
644 B
Python
# Generated by Django 4.2.3 on 2023-08-04 01:38
|
|
|
|
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("users", "0021_identity_aliases"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RunSQL(
|
|
"UPDATE users_follow SET state = 'pending_approval' WHERE state = 'local_requested';"
|
|
),
|
|
migrations.RunSQL(
|
|
"UPDATE users_follow SET state = 'accepting' WHERE state = 'remote_requested';"
|
|
),
|
|
migrations.RunSQL(
|
|
"DELETE FROM users_follow WHERE state not in ('accepted', 'accepting', 'pending_approval', 'unrequested');"
|
|
),
|
|
]
|