38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
# Generated by Django 3.2.21 on 2023-11-08 10:11
|
|
|
|
import django.contrib.postgres.fields
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('eo_facture', '0019_alter_contrat_client'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Project',
|
|
fields=[
|
|
(
|
|
'id',
|
|
models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
|
|
),
|
|
('name', models.CharField(max_length=255)),
|
|
(
|
|
'cpfs',
|
|
django.contrib.postgres.fields.ArrayField(
|
|
base_field=models.CharField(max_length=255), size=None
|
|
),
|
|
),
|
|
(
|
|
'client',
|
|
models.ForeignKey(
|
|
null=True, on_delete=django.db.models.deletion.CASCADE, to='eo_facture.client'
|
|
),
|
|
),
|
|
],
|
|
),
|
|
]
|