mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
This is a preparatory commit for using isort for sorting all of our imports, merging changes to files where we can easily review the changes as something we're happy with. These are also files with relatively little active development, which means we don't expect much merge conflict risk from these changes.
28 lines
930 B
Python
28 lines
930 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.18 on 2019-01-19 05:01
|
|
from __future__ import unicode_literals
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('corporate', '0003_customerplan'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='LicenseLedger',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('is_renewal', models.BooleanField(default=False)),
|
|
('event_time', models.DateTimeField()),
|
|
('licenses', models.IntegerField()),
|
|
('licenses_at_next_renewal', models.IntegerField(null=True)),
|
|
('plan', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='corporate.CustomerPlan')),
|
|
],
|
|
),
|
|
]
|