* feat: move to postgresql * fix: repair fractional replace statement * fix: use pathlib to manipulate settings_local Co-authored-by: Jennifer Richards <jennifer@painless-security.com> * fix: do two string replacements, not one followed by another that throws away the first. Co-authored-by: Jennifer Richards <jennifer@painless-security.com> * fix: use pathlib again to manipulate settings_local Co-authored-by: Jennifer Richards <jennifer@painless-security.com> * fix: properly use assert (1/2) Co-authored-by: Jennifer Richards <jennifer@painless-security.com> * fix: properly use assert (2/2) Co-authored-by: Jennifer Richards <jennifer@painless-security.com> Co-authored-by: Jennifer Richards <jennifer@painless-security.com>
22 lines
780 B
Python
22 lines
780 B
Python
# 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;"
|
|
),
|
|
]
|