Files
zulip/zerver/migrations/0036_rename_subdomain_to_string_id.py
Rishi Gupta 64bcd71d6e models.Realm: Rename subdomain to string_id.
Does a database migration to rename Realm.subdomain to
Realm.string_id, and makes Realm.subdomain a property.  Eventually,
Realm.string_id will replace Realm.domain as the handle by which we
retrieve Realm objects.
2016-11-02 22:46:34 -07:00

20 lines
408 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('zerver', '0035_realm_message_retention_period_days'),
]
operations = [
migrations.RenameField(
model_name='realm',
old_name='subdomain',
new_name='string_id',
),
]