Skip to content

Commit

Permalink
fix: adjust type of fk from community to doc (#5240)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjsparks authored Feb 28, 2023
1 parent 1eb16c9 commit e8f4ddd
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ietf/community/migrations/0010_doc_ids_are_ints.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by Django 2.2.28 on 2022-11-05 11:07

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('community', '0009_add_group_exp_rule_to_groups'),
]

operations = [
migrations.RunSQL(
sql="alter table community_communitylist_added_docs modify document_id int unsigned not null;",
reverse_sql="alter table community_communitylist_added_docs modify document_id varchar(255) not null;"
),
migrations.RunSQL(
sql="alter table community_searchrule_name_contains_index modify document_id int unsigned not null;",
reverse_sql="alter table community_searchrule_name_contains_index modify document_id varchar(255) not null;"
),
]

0 comments on commit e8f4ddd

Please sign in to comment.