kpsul/journaldecaisse/migrations/0001_initial.py

26 lines
859 B
Python
Raw Normal View History

2020-02-16 18:37:16 +01:00
# Generated by Django 2.2.9 on 2020-02-16 17:14
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='JournalEntry',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('entry_text', models.CharField(max_length=500)),
('entry_date', models.DateTimeField(verbose_name='date published')),
('cofeux_id', models.CharField(max_length=8)),
('entry_amount', models.FloatField()),
('payment_type', models.CharField(choices=[('cash', 'Espèces'), ('cb', 'CB'), ('check', 'Chèque')], max_length=20, verbose_name='Niveau')),
],
),
]