Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 35e0a0e

Browse files
authored
Create 0001_initial.py
1 parent bda3187 commit 35e0a0e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Generated by Django 4.0.4 on 2022-05-11 14:16
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
initial = True
9+
10+
dependencies = [
11+
]
12+
13+
operations = [
14+
migrations.CreateModel(
15+
name='Companies',
16+
fields=[
17+
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18+
('nume', models.CharField(max_length=100)),
19+
('website', models.CharField(max_length=50)),
20+
('tip_companie', models.CharField(choices=[('SRL', 'S.R.L.'), ('SA', 'S.A.')], max_length=10)),
21+
('active', models.BooleanField(default=1)),
22+
],
23+
),
24+
]

0 commit comments

Comments
 (0)