26 lines
859 B
Python
26 lines
859 B
Python
|
# 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')),
|
||
|
],
|
||
|
),
|
||
|
]
|