Add stripe tax rate migration
This commit is contained in:
parent
5468d5436c
commit
4b8b0b0540
1 changed files with 29 additions and 0 deletions
29
hosting/migrations/0059_stripetaxrate.py
Normal file
29
hosting/migrations/0059_stripetaxrate.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.4 on 2020-01-05 04:29
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
import utils.mixins
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('hosting', '0058_genericproduct_product_subscription_interval'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='StripeTaxRate',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('tax_rate_id', models.CharField(max_length=100, unique=True)),
|
||||
('jurisdiction', models.CharField(max_length=10)),
|
||||
('inclusive', models.BooleanField(default=False)),
|
||||
('display_name', models.CharField(max_length=100)),
|
||||
('percentage', models.FloatField(default=0)),
|
||||
('description', models.CharField(max_length=100)),
|
||||
],
|
||||
bases=(utils.mixins.AssignPermissionsMixin, models.Model),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue