-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adjust type of fk from community to doc (#5240)
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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;" | ||
), | ||
] |