28 lines
927 B
Python
28 lines
927 B
Python
# Generated by Django 3.2.3 on 2024-01-18 03:19
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('qrtr_account', '0017_alter_slice_balance'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='SubscriptionPlan',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=250)),
|
|
('status', models.CharField(choices=[('active', 'Active'), ('inactive', 'Inactive')], max_length=10)),
|
|
],
|
|
),
|
|
migrations.AddField(
|
|
model_name='bankaccount',
|
|
name='plan',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='qrtr_account.subscriptionplan'),
|
|
),
|
|
]
|