Skip to content

Commit

Permalink
fix migrationss
Browse files Browse the repository at this point in the history
  • Loading branch information
aniversarioperu committed Aug 6, 2015
1 parent 531ea16 commit 4951360
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 32 deletions.
26 changes: 14 additions & 12 deletions manolo/apps/visitors/migrations/0001_initial.py
Expand Up @@ -13,21 +13,23 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Visitor',
fields=[
('id', models.AutoField(serialize=False, primary_key=True)),
('sha1', models.CharField(null=True, help_text='Use it as identifier for any record regardless oforigin. It is built with: date + id_number + time_start', max_length=40)),
('full_name', models.CharField(help_text='Full name of visitor', max_length=250)),
('entity', models.CharField(help_text='Entity that the visitor represents', max_length=250)),
('meeting_place', models.CharField(help_text='Location where meeting takes place', max_length=250)),
('office', models.CharField(help_text='Office that visitor visits. Some peruvian institutions haveit as `unidad`.', max_length=250)),
('host_name', models.CharField(help_text='Name of person that receives visitor', max_length=250)),
('reason', models.CharField(help_text='Reason behind the meeting. Some peruvian institutions haveit as `observación`.', max_length=250)),
('institution', models.CharField(help_text='Institution visited', max_length=250)),
('location', models.CharField(help_text='Location of Institution. Some institution have severallocations. In PCM is know as `sede`.', max_length=250)),
('id_number', models.IntegerField(help_text='Id number')),
('id_document', models.CharField(help_text='Identification document', max_length=250)),
('id', models.AutoField(primary_key=True, serialize=False)),
('sha1', models.CharField(max_length=40, null=True, help_text='Use it as identifier for any record regardless oforigin. It is built with: date + id_number + time_start')),
('full_name', models.CharField(max_length=250, help_text='Full name of visitor')),
('entity', models.CharField(max_length=250, help_text='Entity that the visitor represents')),
('meeting_place', models.CharField(max_length=250, help_text='Location where meeting takes place')),
('office', models.CharField(max_length=250, help_text='Office that visitor visits. Some peruvian institutions haveit as `unidad`.')),
('host_name', models.CharField(max_length=250, help_text='Name of person that receives visitor')),
('reason', models.CharField(max_length=250, help_text='Reason behind the meeting. Some peruvian institutions haveit as `observación`.')),
('institution', models.CharField(max_length=250, help_text='Institution visited')),
('location', models.CharField(max_length=250, help_text='Location of Institution. Some institution have severallocations. In PCM is know as `sede`.')),
('id_number', models.CharField(max_length=250, help_text='Id number. It should be char field as some numbers begin with zero.')),
('id_document', models.CharField(max_length=250, help_text='Identification document')),
('date', models.DateField(null=True)),
('time_start', models.CharField(max_length=250)),
('time_end', models.CharField(max_length=250)),
('created', models.DateTimeField(auto_now_add=True)),
('modified', models.DateTimeField(auto_now=True)),
],
options={
},
Expand Down
20 changes: 0 additions & 20 deletions manolo/apps/visitors/migrations/0002_auto_20150123_1322.py

This file was deleted.

0 comments on commit 4951360

Please sign in to comment.