Revision 017f4158
Added by Mikaël Ates almost 10 years ago
calebasse/dossiers/migrations/0001_initial.py | ||
---|---|---|
1 |
# encoding: utf-8 |
|
2 |
import datetime |
|
3 |
from south.db import db |
|
4 |
from south.v2 import SchemaMigration |
|
5 |
from django.db import models |
|
6 |
|
|
7 |
class Migration(SchemaMigration): |
|
8 |
|
|
9 |
def forwards(self, orm): |
|
10 |
|
|
11 |
# Adding model 'HealthCare' |
|
12 |
db.create_table('dossiers_healthcare', ( |
|
13 |
('comment', self.gf('django.db.models.fields.TextField')(max_length=3000, null=True, blank=True)), |
|
14 |
('patient', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.PatientRecord'])), |
|
15 |
('request_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), |
|
16 |
('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), |
|
17 |
('insist_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), |
|
18 |
('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True, blank=True)), |
|
19 |
('start_date', self.gf('django.db.models.fields.DateField')()), |
|
20 |
('agree_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), |
|
21 |
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), |
|
22 |
)) |
|
23 |
db.send_create_signal('dossiers', ['HealthCare']) |
|
24 |
|
|
25 |
# Adding model 'CmppHealthCareDiagnostic' |
|
26 |
db.create_table('dossiers_cmpphealthcarediagnostic', ( |
|
27 |
('healthcare_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dossiers.HealthCare'], unique=True, primary_key=True)), |
|
28 |
('act_number', self.gf('django.db.models.fields.IntegerField')(default=6)), |
|
29 |
)) |
|
30 |
db.send_create_signal('dossiers', ['CmppHealthCareDiagnostic']) |
|
31 |
|
|
32 |
# Adding model 'CmppHealthCareTreatment' |
|
33 |
db.create_table('dossiers_cmpphealthcaretreatment', ( |
|
34 |
('healthcare_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dossiers.HealthCare'], unique=True, primary_key=True)), |
|
35 |
('prolongation', self.gf('django.db.models.fields.IntegerField')(default=0)), |
|
36 |
('end_date', self.gf('django.db.models.fields.DateField')()), |
|
37 |
('act_number', self.gf('django.db.models.fields.IntegerField')(default=30)), |
|
38 |
)) |
|
39 |
db.send_create_signal('dossiers', ['CmppHealthCareTreatment']) |
|
40 |
|
|
41 |
# Adding model 'SessadHealthCareNotification' |
|
42 |
db.create_table('dossiers_sessadhealthcarenotification', ( |
|
43 |
('healthcare_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dossiers.HealthCare'], unique=True, primary_key=True)), |
|
44 |
('end_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), |
|
45 |
)) |
|
46 |
db.send_create_signal('dossiers', ['SessadHealthCareNotification']) |
|
47 |
|
|
48 |
# Adding model 'Status' |
|
49 |
db.create_table('dossiers_status', ( |
|
50 |
('type', self.gf('django.db.models.fields.CharField')(max_length=80)), |
|
51 |
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), |
|
52 |
('name', self.gf('django.db.models.fields.CharField')(max_length=150)), |
|
53 |
)) |
|
54 |
db.send_create_signal('dossiers', ['Status']) |
|
55 |
|
|
56 |
# Adding M2M table for field services on 'Status' |
|
57 |
db.create_table('dossiers_status_services', ( |
|
58 |
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), |
|
59 |
('status', models.ForeignKey(orm['dossiers.status'], null=False)), |
|
60 |
('service', models.ForeignKey(orm['ressources.service'], null=False)) |
|
61 |
)) |
|
62 |
db.create_unique('dossiers_status_services', ['status_id', 'service_id']) |
|
63 |
|
|
64 |
# Adding model 'FileState' |
|
65 |
db.create_table('dossiers_filestate', ( |
|
66 |
('status', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.Status'])), |
|
67 |
('comment', self.gf('django.db.models.fields.TextField')(max_length=3000, null=True, blank=True)), |
|
68 |
('patient', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.PatientRecord'])), |
|
69 |
('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), |
|
70 |
('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), |
|
71 |
('date_selected', self.gf('django.db.models.fields.DateTimeField')()), |
|
72 |
('previous_state', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.FileState'], null=True, blank=True)), |
|
73 |
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), |
|
74 |
)) |
|
75 |
db.send_create_signal('dossiers', ['FileState']) |
|
76 |
|
|
77 |
# Adding model 'PatientAddress' |
|
78 |
db.create_table('dossiers_patientaddress', ( |
|
79 |
('comment', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), |
|
80 |
('city', self.gf('django.db.models.fields.CharField')(max_length=60, null=True, blank=True)), |
|
81 |
('fax', self.gf('calebasse.models.PhoneNumberField')(max_length=20, null=True, blank=True)), |
|
82 |
('display_name', self.gf('django.db.models.fields.CharField')(max_length=276)), |
|
83 |
('address_complement', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)), |
|
84 |
('number', self.gf('django.db.models.fields.CharField')(max_length=12, null=True, blank=True)), |
|
85 |
('phone', self.gf('calebasse.models.PhoneNumberField')(max_length=20, null=True, blank=True)), |
|
86 |
('street', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)), |
|
87 |
('place_of_life', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), |
|
88 |
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), |
|
89 |
('zip_code', self.gf('calebasse.models.ZipCodeField')(max_length=5, null=True, blank=True)), |
|
90 |
)) |
|
91 |
db.send_create_signal('dossiers', ['PatientAddress']) |
|
92 |
|
|
93 |
# Adding model 'PatientContact' |
|
94 |
db.create_table('dossiers_patientcontact', ( |
|
95 |
('birthplace', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)), |
|
96 |
('old_contact_id', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), |
|
97 |
('thirdparty_payer', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), |
|
98 |
('mobile', self.gf('calebasse.models.PhoneNumberField')(max_length=20, null=True, blank=True)), |
|
99 |
('health_center', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ressources.HealthCenter'], null=True, blank=True)), |
|
100 |
('social_security_id', self.gf('django.db.models.fields.CharField')(max_length=13, null=True, blank=True)), |
|
101 |
('parente', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.PatientRelatedLink'], null=True, blank=True)), |
|
102 |
('birthdate', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), |
|
103 |
('people_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['personnes.People'], unique=True, primary_key=True)), |
|
104 |
('contact_comment', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), |
|
105 |
('job', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='job', null=True, blank=True, to=orm['ressources.Job'])), |
|
106 |
('twinning_rank', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), |
|
107 |
('other_health_center', self.gf('django.db.models.fields.CharField')(max_length=4, null=True, blank=True)), |
|
108 |
('begin_rights', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), |
|
109 |
('end_rights', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), |
|
110 |
)) |
|
111 |
db.send_create_signal('dossiers', ['PatientContact']) |
|
112 |
|
|
113 |
# Adding M2M table for field addresses on 'PatientContact' |
|
114 |
db.create_table('dossiers_patientcontact_addresses', ( |
|
115 |
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), |
|
116 |
('patientcontact', models.ForeignKey(orm['dossiers.patientcontact'], null=False)), |
|
117 |
('patientaddress', models.ForeignKey(orm['dossiers.patientaddress'], null=False)) |
|
118 |
)) |
|
119 |
db.create_unique('dossiers_patientcontact_addresses', ['patientcontact_id', 'patientaddress_id']) |
|
120 |
|
|
121 |
# Adding model 'PatientRecord' |
|
122 |
db.create_table('dossiers_patientrecord', ( |
|
123 |
('comment', self.gf('django.db.models.fields.TextField')(default=None, null=True, blank=True)), |
|
124 |
('transporttype', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.TransportType'], null=True, blank=True)), |
|
125 |
('weight', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)), |
|
126 |
('creator', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), |
|
127 |
('outto', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.OutTo'], null=True, blank=True)), |
|
128 |
('paper_id', self.gf('django.db.models.fields.CharField')(max_length=6, null=True, blank=True)), |
|
129 |
('familymotive', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.FamilyMotive'], null=True, blank=True)), |
|
130 |
('externalintervener', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['personnes.ExternalWorker'], null=True, blank=True)), |
|
131 |
('apgar_score_two', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)), |
|
132 |
('rm_mother', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='rm_mother', null=True, blank=True, to=orm['ressources.MaritalStatusType'])), |
|
133 |
('size', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)), |
|
134 |
('last_state', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', null=True, to=orm['dossiers.FileState'])), |
|
135 |
('externaldoctor', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['personnes.ExternalTherapist'], null=True, blank=True)), |
|
136 |
('pause', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), |
|
137 |
('pregnancy_term', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)), |
|
138 |
('service', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ressources.Service'], null=True, blank=True)), |
|
139 |
('job_mother', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='job_mother', null=True, blank=True, to=orm['ressources.Job'])), |
|
140 |
('apgar_score_one', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)), |
|
141 |
('provenance', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.Provenance'], null=True, blank=True)), |
|
142 |
('cranium_perimeter', self.gf('django.db.models.fields.DecimalField')(default=None, null=True, max_digits=5, decimal_places=2, blank=True)), |
|
143 |
('outmotive', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.OutMotive'], null=True, blank=True)), |
|
144 |
('job_father', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='job_father', null=True, blank=True, to=orm['ressources.Job'])), |
|
145 |
('nb_children_family', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)), |
|
146 |
('transportcompany', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.TransportCompany'], null=True, blank=True)), |
|
147 |
('policyholder', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='+', null=True, to=orm['dossiers.PatientContact'])), |
|
148 |
('confidential', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)), |
|
149 |
('old_id', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), |
|
150 |
('advicegiver', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.AdviceGiver'], null=True, blank=True)), |
|
151 |
('rm_father', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='rm_father', null=True, blank=True, to=orm['ressources.MaritalStatusType'])), |
|
152 |
('nationality', self.gf('django.db.models.fields.CharField')(max_length=70, null=True, blank=True)), |
|
153 |
('old_old_id', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), |
|
154 |
('parental_authority', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.ParentalAuthorityType'], null=True, blank=True)), |
|
155 |
('sibship_place', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)), |
|
156 |
('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), |
|
157 |
('child_custody', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.ParentalCustodyType'], null=True, blank=True)), |
|
158 |
('family_comment', self.gf('django.db.models.fields.TextField')(default=None, null=True, blank=True)), |
|
159 |
('family_situation', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.FamilySituationType'], null=True, blank=True)), |
|
160 |
('analysemotive', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.AnalyseMotive'], null=True, blank=True)), |
|
161 |
('chest_perimeter', self.gf('django.db.models.fields.DecimalField')(default=None, null=True, max_digits=5, decimal_places=2, blank=True)), |
|
162 |
('patientcontact_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dossiers.PatientContact'], unique=True, primary_key=True)), |
|
163 |
)) |
|
164 |
db.send_create_signal('dossiers', ['PatientRecord']) |
|
165 |
|
|
166 |
# Adding M2M table for field coordinators on 'PatientRecord' |
|
167 |
db.create_table('dossiers_patientrecord_coordinators', ( |
|
168 |
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), |
|
169 |
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)), |
|
170 |
('worker', models.ForeignKey(orm['personnes.worker'], null=False)) |
|
171 |
)) |
|
172 |
db.create_unique('dossiers_patientrecord_coordinators', ['patientrecord_id', 'worker_id']) |
|
173 |
|
|
174 |
# Adding M2M table for field contacts on 'PatientRecord' |
|
175 |
db.create_table('dossiers_patientrecord_contacts', ( |
|
176 |
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), |
|
177 |
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)), |
|
178 |
('patientcontact', models.ForeignKey(orm['dossiers.patientcontact'], null=False)) |
|
179 |
)) |
|
180 |
db.create_unique('dossiers_patientrecord_contacts', ['patientrecord_id', 'patientcontact_id']) |
|
181 |
|
|
182 |
# Adding M2M table for field mdph_responses on 'PatientRecord' |
|
183 |
db.create_table('dossiers_patientrecord_mdph_responses', ( |
|
184 |
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), |
|
185 |
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)), |
|
186 |
('mdphresponse', models.ForeignKey(orm['ressources.mdphresponse'], null=False)) |
|
187 |
)) |
|
188 |
db.create_unique('dossiers_patientrecord_mdph_responses', ['patientrecord_id', 'mdphresponse_id']) |
|
189 |
|
|
190 |
# Adding M2M table for field mises_2 on 'PatientRecord' |
|
191 |
db.create_table('dossiers_patientrecord_mises_2', ( |
|
192 |
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), |
|
193 |
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)), |
|
194 |
('codecftmea', models.ForeignKey(orm['ressources.codecftmea'], null=False)) |
|
195 |
)) |
|
196 |
db.create_unique('dossiers_patientrecord_mises_2', ['patientrecord_id', 'codecftmea_id']) |
|
197 |
|
|
198 |
# Adding M2M table for field mises_1 on 'PatientRecord' |
|
199 |
db.create_table('dossiers_patientrecord_mises_1', ( |
|
200 |
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), |
|
201 |
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)), |
|
202 |
('codecftmea', models.ForeignKey(orm['ressources.codecftmea'], null=False)) |
|
203 |
)) |
|
204 |
db.create_unique('dossiers_patientrecord_mises_1', ['patientrecord_id', 'codecftmea_id']) |
|
205 |
|
|
206 |
# Adding M2M table for field socialisation_durations on 'PatientRecord' |
|
207 |
db.create_table('dossiers_patientrecord_socialisation_durations', ( |
|
208 |
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), |
|
209 |
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)), |
|
210 |
('socialisationduration', models.ForeignKey(orm['ressources.socialisationduration'], null=False)) |
|
211 |
)) |
|
212 |
db.create_unique('dossiers_patientrecord_socialisation_durations', ['patientrecord_id', 'socialisationduration_id']) |
|
213 |
|
|
214 |
# Adding M2M table for field mdph_requests on 'PatientRecord' |
|
215 |
db.create_table('dossiers_patientrecord_mdph_requests', ( |
|
216 |
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), |
|
217 |
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)), |
|
218 |
('mdphrequest', models.ForeignKey(orm['ressources.mdphrequest'], null=False)) |
|
219 |
)) |
|
220 |
db.create_unique('dossiers_patientrecord_mdph_requests', ['patientrecord_id', 'mdphrequest_id']) |
|
221 |
|
|
222 |
# Adding M2M table for field mises_3 on 'PatientRecord' |
|
223 |
db.create_table('dossiers_patientrecord_mises_3', ( |
|
224 |
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), |
|
225 |
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)), |
|
226 |
('codecftmea', models.ForeignKey(orm['ressources.codecftmea'], null=False)) |
|
227 |
)) |
|
228 |
db.create_unique('dossiers_patientrecord_mises_3', ['patientrecord_id', 'codecftmea_id']) |
|
229 |
|
|
230 |
|
|
231 |
def backwards(self, orm): |
|
232 |
|
|
233 |
# Deleting model 'HealthCare' |
|
234 |
db.delete_table('dossiers_healthcare') |
|
235 |
|
|
236 |
# Deleting model 'CmppHealthCareDiagnostic' |
|
237 |
db.delete_table('dossiers_cmpphealthcarediagnostic') |
|
238 |
|
|
239 |
# Deleting model 'CmppHealthCareTreatment' |
|
240 |
db.delete_table('dossiers_cmpphealthcaretreatment') |
|
241 |
|
|
242 |
# Deleting model 'SessadHealthCareNotification' |
|
243 |
db.delete_table('dossiers_sessadhealthcarenotification') |
|
244 |
|
|
245 |
# Deleting model 'Status' |
|
246 |
db.delete_table('dossiers_status') |
|
247 |
|
|
248 |
# Removing M2M table for field services on 'Status' |
|
249 |
db.delete_table('dossiers_status_services') |
|
250 |
|
|
251 |
# Deleting model 'FileState' |
|
252 |
db.delete_table('dossiers_filestate') |
|
253 |
|
|
254 |
# Deleting model 'PatientAddress' |
|
255 |
db.delete_table('dossiers_patientaddress') |
|
256 |
|
|
257 |
# Deleting model 'PatientContact' |
|
258 |
db.delete_table('dossiers_patientcontact') |
|
259 |
|
|
260 |
# Removing M2M table for field addresses on 'PatientContact' |
|
261 |
db.delete_table('dossiers_patientcontact_addresses') |
|
262 |
|
|
263 |
# Deleting model 'PatientRecord' |
|
264 |
db.delete_table('dossiers_patientrecord') |
|
265 |
|
|
266 |
# Removing M2M table for field coordinators on 'PatientRecord' |
|
267 |
db.delete_table('dossiers_patientrecord_coordinators') |
|
268 |
|
|
269 |
# Removing M2M table for field contacts on 'PatientRecord' |
|
270 |
db.delete_table('dossiers_patientrecord_contacts') |
|
271 |
|
|
272 |
# Removing M2M table for field mdph_responses on 'PatientRecord' |
|
273 |
db.delete_table('dossiers_patientrecord_mdph_responses') |
|
274 |
|
|
275 |
# Removing M2M table for field mises_2 on 'PatientRecord' |
|
276 |
db.delete_table('dossiers_patientrecord_mises_2') |
|
277 |
|
|
278 |
# Removing M2M table for field mises_1 on 'PatientRecord' |
|
279 |
db.delete_table('dossiers_patientrecord_mises_1') |
|
280 |
|
|
281 |
# Removing M2M table for field socialisation_durations on 'PatientRecord' |
|
282 |
db.delete_table('dossiers_patientrecord_socialisation_durations') |
|
283 |
|
|
284 |
# Removing M2M table for field mdph_requests on 'PatientRecord' |
|
285 |
db.delete_table('dossiers_patientrecord_mdph_requests') |
|
286 |
|
|
287 |
# Removing M2M table for field mises_3 on 'PatientRecord' |
|
288 |
db.delete_table('dossiers_patientrecord_mises_3') |
|
289 |
|
|
290 |
|
|
291 |
models = { |
|
292 |
'auth.group': { |
|
293 |
'Meta': {'object_name': 'Group'}, |
|
294 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
295 |
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), |
|
296 |
'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) |
|
297 |
}, |
|
298 |
'auth.permission': { |
|
299 |
'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, |
|
300 |
'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), |
|
301 |
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), |
|
302 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
303 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) |
|
304 |
}, |
|
305 |
'auth.user': { |
|
306 |
'Meta': {'object_name': 'User'}, |
|
307 |
'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 13, 16, 37, 34, 720049)'}), |
|
308 |
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), |
|
309 |
'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), |
|
310 |
'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), |
|
311 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
312 |
'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), |
|
313 |
'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), |
|
314 |
'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), |
|
315 |
'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 13, 16, 37, 34, 719965)'}), |
|
316 |
'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), |
|
317 |
'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), |
|
318 |
'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), |
|
319 |
'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) |
|
320 |
}, |
|
321 |
'contenttypes.contenttype': { |
|
322 |
'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, |
|
323 |
'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), |
|
324 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
325 |
'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), |
|
326 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) |
|
327 |
}, |
|
328 |
'dossiers.cmpphealthcarediagnostic': { |
|
329 |
'Meta': {'object_name': 'CmppHealthCareDiagnostic', '_ormbases': ['dossiers.HealthCare']}, |
|
330 |
'act_number': ('django.db.models.fields.IntegerField', [], {'default': '6'}), |
|
331 |
'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'}) |
|
332 |
}, |
|
333 |
'dossiers.cmpphealthcaretreatment': { |
|
334 |
'Meta': {'object_name': 'CmppHealthCareTreatment', '_ormbases': ['dossiers.HealthCare']}, |
|
335 |
'act_number': ('django.db.models.fields.IntegerField', [], {'default': '30'}), |
|
336 |
'end_date': ('django.db.models.fields.DateField', [], {}), |
|
337 |
'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'}), |
|
338 |
'prolongation': ('django.db.models.fields.IntegerField', [], {'default': '0'}) |
|
339 |
}, |
|
340 |
'dossiers.filestate': { |
|
341 |
'Meta': {'object_name': 'FileState'}, |
|
342 |
'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), |
|
343 |
'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}), |
|
344 |
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), |
|
345 |
'date_selected': ('django.db.models.fields.DateTimeField', [], {}), |
|
346 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
347 |
'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.PatientRecord']"}), |
|
348 |
'previous_state': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.FileState']", 'null': 'True', 'blank': 'True'}), |
|
349 |
'status': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.Status']"}) |
|
350 |
}, |
|
351 |
'dossiers.healthcare': { |
|
352 |
'Meta': {'object_name': 'HealthCare'}, |
|
353 |
'agree_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), |
|
354 |
'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), |
|
355 |
'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}), |
|
356 |
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), |
|
357 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
358 |
'insist_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), |
|
359 |
'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.PatientRecord']"}), |
|
360 |
'request_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), |
|
361 |
'start_date': ('django.db.models.fields.DateField', [], {}) |
|
362 |
}, |
|
363 |
'dossiers.patientaddress': { |
|
364 |
'Meta': {'object_name': 'PatientAddress'}, |
|
365 |
'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), |
|
366 |
'city': ('django.db.models.fields.CharField', [], {'max_length': '60', 'null': 'True', 'blank': 'True'}), |
|
367 |
'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), |
|
368 |
'display_name': ('django.db.models.fields.CharField', [], {'max_length': '276'}), |
|
369 |
'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), |
|
370 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
371 |
'number': ('django.db.models.fields.CharField', [], {'max_length': '12', 'null': 'True', 'blank': 'True'}), |
|
372 |
'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), |
|
373 |
'place_of_life': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), |
|
374 |
'street': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), |
|
375 |
'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'}) |
|
376 |
}, |
|
377 |
'dossiers.patientcontact': { |
|
378 |
'Meta': {'object_name': 'PatientContact', '_ormbases': ['personnes.People']}, |
|
379 |
'addresses': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dossiers.PatientAddress']", 'symmetrical': 'False'}), |
|
380 |
'begin_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), |
|
381 |
'birthdate': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), |
|
382 |
'birthplace': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), |
|
383 |
'contact_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), |
|
384 |
'end_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), |
|
385 |
'health_center': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.HealthCenter']", 'null': 'True', 'blank': 'True'}), |
|
386 |
'job': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job'", 'null': 'True', 'blank': 'True', 'to': "orm['ressources.Job']"}), |
|
387 |
'mobile': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), |
|
388 |
'old_contact_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
389 |
'other_health_center': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), |
|
390 |
'parente': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.PatientRelatedLink']", 'null': 'True', 'blank': 'True'}), |
|
391 |
'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}), |
|
392 |
'social_security_id': ('django.db.models.fields.CharField', [], {'max_length': '13', 'null': 'True', 'blank': 'True'}), |
|
393 |
'thirdparty_payer': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), |
|
394 |
'twinning_rank': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) |
|
395 |
}, |
|
396 |
'dossiers.patientrecord': { |
|
397 |
'Meta': {'object_name': 'PatientRecord', '_ormbases': ['dossiers.PatientContact']}, |
|
398 |
'advicegiver': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.AdviceGiver']", 'null': 'True', 'blank': 'True'}), |
|
399 |
'analysemotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.AnalyseMotive']", 'null': 'True', 'blank': 'True'}), |
|
400 |
'apgar_score_one': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
401 |
'apgar_score_two': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
402 |
'chest_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}), |
|
403 |
'child_custody': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.ParentalCustodyType']", 'null': 'True', 'blank': 'True'}), |
|
404 |
'comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
405 |
'confidential': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), |
|
406 |
'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'contact_of'", 'symmetrical': 'False', 'to': "orm['dossiers.PatientContact']"}), |
|
407 |
'coordinators': ('django.db.models.fields.related.ManyToManyField', [], {'default': 'None', 'to': "orm['personnes.Worker']", 'null': 'True', 'symmetrical': 'False', 'blank': 'True'}), |
|
408 |
'cranium_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}), |
|
409 |
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), |
|
410 |
'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), |
|
411 |
'externaldoctor': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['personnes.ExternalTherapist']", 'null': 'True', 'blank': 'True'}), |
|
412 |
'externalintervener': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['personnes.ExternalWorker']", 'null': 'True', 'blank': 'True'}), |
|
413 |
'family_comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
414 |
'family_situation': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.FamilySituationType']", 'null': 'True', 'blank': 'True'}), |
|
415 |
'familymotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.FamilyMotive']", 'null': 'True', 'blank': 'True'}), |
|
416 |
'job_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_father'", 'null': 'True', 'blank': 'True', 'to': "orm['ressources.Job']"}), |
|
417 |
'job_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_mother'", 'null': 'True', 'blank': 'True', 'to': "orm['ressources.Job']"}), |
|
418 |
'last_state': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['dossiers.FileState']"}), |
|
419 |
'mdph_requests': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_requests_of'", 'symmetrical': 'False', 'to': "orm['ressources.MDPHRequest']"}), |
|
420 |
'mdph_responses': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_responses_of'", 'symmetrical': 'False', 'to': "orm['ressources.MDPHResponse']"}), |
|
421 |
'mises_1': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises1'", 'default': 'None', 'to': "orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), |
|
422 |
'mises_2': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises2'", 'default': 'None', 'to': "orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), |
|
423 |
'mises_3': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises3'", 'default': 'None', 'to': "orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), |
|
424 |
'nationality': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}), |
|
425 |
'nb_children_family': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
426 |
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
427 |
'old_old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
428 |
'outmotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.OutMotive']", 'null': 'True', 'blank': 'True'}), |
|
429 |
'outto': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.OutTo']", 'null': 'True', 'blank': 'True'}), |
|
430 |
'paper_id': ('django.db.models.fields.CharField', [], {'max_length': '6', 'null': 'True', 'blank': 'True'}), |
|
431 |
'parental_authority': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.ParentalAuthorityType']", 'null': 'True', 'blank': 'True'}), |
|
432 |
'patientcontact_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.PatientContact']", 'unique': 'True', 'primary_key': 'True'}), |
|
433 |
'pause': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), |
|
434 |
'policyholder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['dossiers.PatientContact']"}), |
|
435 |
'pregnancy_term': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
436 |
'provenance': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.Provenance']", 'null': 'True', 'blank': 'True'}), |
|
437 |
'rm_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_father'", 'null': 'True', 'blank': 'True', 'to': "orm['ressources.MaritalStatusType']"}), |
|
438 |
'rm_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_mother'", 'null': 'True', 'blank': 'True', 'to': "orm['ressources.MaritalStatusType']"}), |
|
439 |
'service': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.Service']", 'null': 'True', 'blank': 'True'}), |
|
440 |
'sibship_place': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
441 |
'size': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
442 |
'socialisation_durations': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'socialisation_duration_of'", 'symmetrical': 'False', 'to': "orm['ressources.SocialisationDuration']"}), |
|
443 |
'transportcompany': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.TransportCompany']", 'null': 'True', 'blank': 'True'}), |
|
444 |
'transporttype': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.TransportType']", 'null': 'True', 'blank': 'True'}), |
|
445 |
'weight': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) |
|
446 |
}, |
|
447 |
'dossiers.sessadhealthcarenotification': { |
|
448 |
'Meta': {'object_name': 'SessadHealthCareNotification', '_ormbases': ['dossiers.HealthCare']}, |
|
449 |
'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), |
|
450 |
'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'}) |
|
451 |
}, |
|
452 |
'dossiers.status': { |
|
453 |
'Meta': {'object_name': 'Status'}, |
|
454 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
455 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}), |
|
456 |
'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ressources.Service']", 'symmetrical': 'False'}), |
|
457 |
'type': ('django.db.models.fields.CharField', [], {'max_length': '80'}) |
|
458 |
}, |
|
459 |
'personnes.externaltherapist': { |
|
460 |
'Meta': {'object_name': 'ExternalTherapist', '_ormbases': ['personnes.People']}, |
|
461 |
'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
462 |
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
463 |
'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}), |
|
464 |
'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
465 |
'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}), |
|
466 |
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
467 |
'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
468 |
'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}), |
|
469 |
'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}), |
|
470 |
'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': "orm['ressources.WorkerType']"}), |
|
471 |
'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'}) |
|
472 |
}, |
|
473 |
'personnes.externalworker': { |
|
474 |
'Meta': {'object_name': 'ExternalWorker', '_ormbases': ['personnes.People']}, |
|
475 |
'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
476 |
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
477 |
'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}), |
|
478 |
'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
479 |
'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}), |
|
480 |
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
481 |
'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
482 |
'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}), |
|
483 |
'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}), |
|
484 |
'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': "orm['ressources.WorkerType']"}), |
|
485 |
'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'}) |
|
486 |
}, |
|
487 |
'personnes.people': { |
|
488 |
'Meta': {'object_name': 'People'}, |
|
489 |
'display_name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), |
|
490 |
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), |
|
491 |
'first_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), |
|
492 |
'gender': ('django.db.models.fields.IntegerField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}), |
|
493 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
494 |
'last_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), |
|
495 |
'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}) |
|
496 |
}, |
|
497 |
'personnes.worker': { |
|
498 |
'Meta': {'object_name': 'Worker', '_ormbases': ['personnes.People']}, |
|
499 |
'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), |
|
500 |
'initials': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '5'}), |
|
501 |
'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
502 |
'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
503 |
'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
504 |
'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
505 |
'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}), |
|
506 |
'services': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['ressources.Service']", 'null': 'True', 'blank': 'True'}), |
|
507 |
'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.WorkerType']"}) |
|
508 |
}, |
|
509 |
'ressources.advicegiver': { |
|
510 |
'Meta': {'object_name': 'AdviceGiver'}, |
|
511 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
512 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
513 |
}, |
|
514 |
'ressources.analysemotive': { |
|
515 |
'Meta': {'object_name': 'AnalyseMotive'}, |
|
516 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
517 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
518 |
}, |
|
519 |
'ressources.codecftmea': { |
|
520 |
'Meta': {'object_name': 'CodeCFTMEA'}, |
|
521 |
'axe': ('django.db.models.fields.IntegerField', [], {'max_length': '1'}), |
|
522 |
'code': ('django.db.models.fields.IntegerField', [], {}), |
|
523 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
524 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
525 |
}, |
|
526 |
'ressources.familymotive': { |
|
527 |
'Meta': {'object_name': 'FamilyMotive'}, |
|
528 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
529 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
530 |
}, |
|
531 |
'ressources.familysituationtype': { |
|
532 |
'Meta': {'object_name': 'FamilySituationType'}, |
|
533 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
534 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
535 |
}, |
|
536 |
'ressources.healthcenter': { |
|
537 |
'Meta': {'object_name': 'HealthCenter'}, |
|
538 |
'abbreviation': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}), |
|
539 |
'accounting_number': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), |
|
540 |
'active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), |
|
541 |
'address': ('django.db.models.fields.CharField', [], {'max_length': '120'}), |
|
542 |
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
543 |
'city': ('django.db.models.fields.CharField', [], {'max_length': '80'}), |
|
544 |
'code': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), |
|
545 |
'computer_center_code': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}), |
|
546 |
'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80'}), |
|
547 |
'dest_organism': ('django.db.models.fields.CharField', [], {'max_length': '8'}), |
|
548 |
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), |
|
549 |
'fax': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), |
|
550 |
'health_fund': ('django.db.models.fields.CharField', [], {'max_length': '3'}), |
|
551 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
552 |
'large_regime': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.LargeRegime']"}), |
|
553 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}), |
|
554 |
'phone': ('django.db.models.fields.CharField', [], {'max_length': '30'}), |
|
555 |
'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '8'}) |
|
556 |
}, |
|
557 |
'ressources.job': { |
|
558 |
'Meta': {'object_name': 'Job'}, |
|
559 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
560 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
561 |
}, |
|
562 |
'ressources.largeregime': { |
|
563 |
'Meta': {'object_name': 'LargeRegime'}, |
|
564 |
'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), |
|
565 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
566 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
567 |
}, |
|
568 |
'ressources.maritalstatustype': { |
|
569 |
'Meta': {'object_name': 'MaritalStatusType'}, |
|
570 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
571 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
572 |
}, |
|
573 |
'ressources.mdph': { |
|
574 |
'Meta': {'object_name': 'MDPH'}, |
|
575 |
'address': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
576 |
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
577 |
'city': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}), |
|
578 |
'department': ('django.db.models.fields.CharField', [], {'max_length': '200'}), |
|
579 |
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), |
|
580 |
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), |
|
581 |
'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), |
|
582 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
583 |
'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), |
|
584 |
'website': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), |
|
585 |
'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'}) |
|
586 |
}, |
|
587 |
'ressources.mdphrequest': { |
|
588 |
'Meta': {'object_name': 'MDPHRequest'}, |
|
589 |
'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}), |
|
590 |
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), |
|
591 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
592 |
'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.MDPH']"}), |
|
593 |
'start_date': ('django.db.models.fields.DateField', [], {}) |
|
594 |
}, |
|
595 |
'ressources.mdphresponse': { |
|
596 |
'Meta': {'object_name': 'MDPHResponse'}, |
|
597 |
'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}), |
|
598 |
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), |
|
599 |
'end_date': ('django.db.models.fields.DateField', [], {}), |
|
600 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
601 |
'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.MDPH']"}), |
|
602 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), |
|
603 |
'rate': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), |
|
604 |
'start_date': ('django.db.models.fields.DateField', [], {}), |
|
605 |
'type_aide': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}) |
|
606 |
}, |
|
607 |
'ressources.outmotive': { |
|
608 |
'Meta': {'object_name': 'OutMotive'}, |
|
609 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
610 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
611 |
}, |
|
612 |
'ressources.outto': { |
|
613 |
'Meta': {'object_name': 'OutTo'}, |
|
614 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
615 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
616 |
}, |
|
617 |
'ressources.parentalauthoritytype': { |
|
618 |
'Meta': {'object_name': 'ParentalAuthorityType'}, |
|
619 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
620 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
621 |
}, |
|
622 |
'ressources.parentalcustodytype': { |
|
623 |
'Meta': {'object_name': 'ParentalCustodyType'}, |
|
624 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
625 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
626 |
}, |
|
627 |
'ressources.patientrelatedlink': { |
|
628 |
'Meta': {'object_name': 'PatientRelatedLink'}, |
|
629 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
630 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}), |
|
631 |
'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
632 |
'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
633 |
'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
634 |
'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) |
|
635 |
}, |
|
636 |
'ressources.provenance': { |
|
637 |
'Meta': {'object_name': 'Provenance'}, |
|
638 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
639 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}), |
|
640 |
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
641 |
'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) |
|
642 |
}, |
|
643 |
'ressources.school': { |
|
644 |
'Meta': {'object_name': 'School'}, |
|
645 |
'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
646 |
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
647 |
'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}), |
|
648 |
'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
649 |
'director_name': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '70', 'null': 'True', 'blank': 'True'}), |
|
650 |
'email': ('django.db.models.fields.EmailField', [], {'default': 'None', 'max_length': '75', 'null': 'True', 'blank': 'True'}), |
|
651 |
'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}), |
|
652 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
653 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}), |
|
654 |
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
655 |
'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
656 |
'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}), |
|
657 |
'school_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.SchoolType']"}), |
|
658 |
'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'}) |
|
659 |
}, |
|
660 |
'ressources.schoollevel': { |
|
661 |
'Meta': {'object_name': 'SchoolLevel'}, |
|
662 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
663 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}), |
|
664 |
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
665 |
'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) |
|
666 |
}, |
|
667 |
'ressources.schooltype': { |
|
668 |
'Meta': {'object_name': 'SchoolType'}, |
|
669 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
670 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}), |
|
671 |
'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ressources.Service']", 'symmetrical': 'False'}) |
|
672 |
}, |
|
673 |
'ressources.service': { |
|
674 |
'Meta': {'object_name': 'Service'}, |
|
675 |
'description': ('django.db.models.fields.TextField', [], {}), |
|
676 |
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), |
|
677 |
'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}), |
|
678 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
679 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}), |
|
680 |
'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}), |
|
681 |
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'db_index': 'True'}) |
|
682 |
}, |
|
683 |
'ressources.socialisationduration': { |
|
684 |
'Meta': {'object_name': 'SocialisationDuration'}, |
|
685 |
'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}), |
|
686 |
'contact': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '200', 'null': 'True', 'blank': 'True'}), |
|
687 |
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), |
|
688 |
'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), |
|
689 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
690 |
'level': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.SchoolLevel']", 'null': 'True', 'blank': 'True'}), |
|
691 |
'redoublement': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), |
|
692 |
'school': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.School']", 'null': 'True', 'blank': 'True'}), |
|
693 |
'start_date': ('django.db.models.fields.DateField', [], {}) |
|
694 |
}, |
|
695 |
'ressources.transportcompany': { |
|
696 |
'Meta': {'object_name': 'TransportCompany'}, |
|
697 |
'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
698 |
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}), |
|
699 |
'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}), |
|
700 |
'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}), |
|
701 |
'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}), |
|
702 |
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), |
|
703 |
'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}), |
|
704 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
705 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}), |
|
706 |
'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
707 |
'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
708 |
'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
709 |
'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), |
|
710 |
'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}), |
|
711 |
'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'}) |
|
712 |
}, |
|
713 |
'ressources.transporttype': { |
|
714 |
'Meta': {'object_name': 'TransportType'}, |
|
715 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
716 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
717 |
}, |
|
718 |
'ressources.workertype': { |
|
719 |
'Meta': {'object_name': 'WorkerType'}, |
|
720 |
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
721 |
'intervene': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), |
|
722 |
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}) |
|
723 |
} |
|
724 |
} |
|
725 |
|
|
726 |
complete_apps = ['dossiers'] |
|
1 |
# -*- coding: utf-8 -*- |
|
2 |
from __future__ import unicode_literals |
|
3 |
|
|
4 |
from django.db import models, migrations |
|
5 |
import calebasse.models |
|
6 |
import django.db.models.deletion |
|
7 |
from django.conf import settings |
|
8 |
import django.core.validators |
|
9 |
|
|
10 |
|
|
11 |
class Migration(migrations.Migration): |
|
12 |
|
|
13 |
dependencies = [ |
|
14 |
('ressources', '0001_initial'), |
|
15 |
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|
16 |
('personnes', '0001_initial'), |
|
17 |
] |
|
18 |
|
|
19 |
operations = [ |
|
20 |
migrations.CreateModel( |
|
21 |
name='FileState', |
|
22 |
fields=[ |
|
23 |
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), |
|
24 |
('created', models.DateTimeField(auto_now_add=True, verbose_name='Cr\xe9ation')), |
|
25 |
('date_selected', models.DateTimeField()), |
|
26 |
('comment', models.TextField(max_length=3000, null=True, blank=True)), |
|
27 |
('author', models.ForeignKey(verbose_name='Auteur', to=settings.AUTH_USER_MODEL)), |
|
28 |
], |
|
29 |
options={ |
|
30 |
'verbose_name': 'Etat du dossier patient', |
|
31 |
'verbose_name_plural': 'Etats du dossier patient', |
|
32 |
}, |
|
33 |
bases=(models.Model,), |
|
34 |
), |
|
35 |
migrations.CreateModel( |
|
36 |
name='HealthCare', |
|
37 |
fields=[ |
|
38 |
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), |
|
39 |
('start_date', models.DateField(verbose_name='Date de d\xe9but')), |
|
40 |
('request_date', models.DateField(null=True, verbose_name='Date de demande', blank=True)), |
|
41 |
('agree_date', models.DateField(null=True, verbose_name="Date d'accord", blank=True)), |
|
42 |
('insist_date', models.DateField(null=True, verbose_name='Date de relance', blank=True)), |
|
43 |
('created', models.DateTimeField(auto_now_add=True, verbose_name='Cr\xe9ation')), |
|
44 |
('comment', models.TextField(max_length=3000, null=True, verbose_name='Commentaire', blank=True)), |
|
45 |
], |
|
46 |
options={ |
|
47 |
}, |
|
48 |
bases=(models.Model,), |
|
49 |
), |
|
50 |
migrations.CreateModel( |
|
51 |
name='CmppHealthCareTreatment', |
|
52 |
fields=[ |
|
53 |
('healthcare_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='dossiers.HealthCare')), |
|
54 |
('act_number', models.IntegerField(default=30, verbose_name="Nombre d'actes couverts")), |
|
55 |
('end_date', models.DateField(null=True, verbose_name='Date de fin', blank=True)), |
|
56 |
('prolongation', models.IntegerField(default=0, verbose_name='Prolongation')), |
|
57 |
('prolongation_date', models.DateField(null=True, verbose_name='Date de prolongation', blank=True)), |
|
58 |
], |
|
59 |
options={ |
|
60 |
}, |
|
61 |
bases=('dossiers.healthcare',), |
|
62 |
), |
|
63 |
migrations.CreateModel( |
|
64 |
name='CmppHealthCareDiagnostic', |
|
65 |
fields=[ |
|
66 |
('healthcare_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='dossiers.HealthCare')), |
|
67 |
('act_number', models.IntegerField(default=6, verbose_name="Nombre d'actes couverts")), |
|
68 |
('end_date', models.DateField(null=True, verbose_name='Date de fin', blank=True)), |
|
69 |
], |
|
70 |
options={ |
|
71 |
}, |
|
72 |
bases=('dossiers.healthcare',), |
|
73 |
), |
|
74 |
migrations.CreateModel( |
|
75 |
name='PatientAddress', |
|
76 |
fields=[ |
|
77 |
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), |
|
78 |
('display_name', models.CharField(verbose_name='Adresse compl\xe8te', max_length=276, editable=False)), |
|
79 |
('phone', calebasse.models.PhoneNumberField(max_length=20, null=True, verbose_name='T\xe9l\xe9phone', blank=True)), |
|
80 |
('fax', calebasse.models.PhoneNumberField(max_length=20, null=True, verbose_name='Fax', blank=True)), |
|
81 |
('place_of_life', models.BooleanField(default=True, verbose_name='Lieu de vie')), |
|
82 |
('number', models.CharField(max_length=12, null=True, verbose_name='Num\xe9ro', blank=True)), |
|
83 |
('recipient', models.CharField(max_length=100, null=True, verbose_name='Destinataire', blank=True)), |
|
84 |
('street', models.CharField(max_length=100, null=True, verbose_name='Rue', blank=True)), |
|
85 |
('address_complement', models.CharField(max_length=100, null=True, verbose_name="Compl\xe9ment d'adresse", blank=True)), |
|
86 |
('zip_code', calebasse.models.ZipCodeField(max_length=5, null=True, verbose_name='Code postal', blank=True)), |
|
87 |
('city', models.CharField(max_length=60, null=True, verbose_name='Ville', blank=True)), |
|
88 |
('comment', models.TextField(null=True, verbose_name='Commentaire', blank=True)), |
|
89 |
], |
|
90 |
options={ |
|
91 |
}, |
|
92 |
bases=(models.Model,), |
|
93 |
), |
|
94 |
migrations.CreateModel( |
|
95 |
name='PatientContact', |
|
96 |
fields=[ |
|
97 |
('people_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='personnes.People')), |
|
98 |
('mobile', calebasse.models.PhoneNumberField(max_length=20, null=True, verbose_name='T\xe9l\xe9phone mobile', blank=True)), |
|
99 |
('social_security_id', models.CharField(max_length=13, null=True, verbose_name='NIR', blank=True)), |
|
100 |
('birthdate', models.DateField(null=True, verbose_name='Date de naissance', blank=True)), |
|
101 |
('birthplace', models.CharField(max_length=100, null=True, verbose_name='Lieu de naissance', blank=True)), |
|
102 |
('twinning_rank', models.IntegerField(default=1, verbose_name='Rang (g\xe9mellit\xe9)', validators=[django.core.validators.MinValueValidator(1)])), |
|
103 |
('thirdparty_payer', models.BooleanField(default=False, verbose_name='Tiers-payant')), |
|
104 |
('begin_rights', models.DateField(null=True, verbose_name='D\xe9but de droits', blank=True)), |
|
105 |
('end_rights', models.DateField(null=True, verbose_name='Fin de droits', blank=True)), |
|
106 |
('other_health_center', models.CharField(max_length=4, null=True, verbose_name='Centre sp\xe9cifique', blank=True)), |
|
107 |
('type_of_contract', models.CharField(blank=True, max_length=2, null=True, verbose_name='Type de contrat sp\xe9cifique', choices=[(b'89', b'CMU - Couverture maladie universelle'), (b'04', b"AME - Aide m\xc3\xa9dicale d'\xc3\x89tat")])), |
|
108 |
('ame', models.BooleanField(default=False, verbose_name='AME')), |
|
109 |
('contact_comment', models.TextField(null=True, verbose_name='Commentaire', blank=True)), |
|
110 |
('old_contact_id', models.CharField(max_length=256, null=True, verbose_name='Ancien ID du contact', blank=True)), |
|
111 |
], |
|
112 |
options={ |
|
113 |
'verbose_name': 'Contact patient', |
|
114 |
'verbose_name_plural': 'Contacts patient', |
|
115 |
}, |
|
116 |
bases=('personnes.people',), |
|
117 |
), |
|
118 |
migrations.CreateModel( |
|
119 |
name='PatientRecord', |
|
120 |
fields=[ |
|
121 |
('patientcontact_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='dossiers.PatientContact')), |
|
122 |
('created', models.DateTimeField(auto_now_add=True, verbose_name='cr\xe9ation')), |
|
123 |
('nationality', models.CharField(max_length=70, null=True, verbose_name='Nationalit\xe9', blank=True)), |
|
124 |
('paper_id', models.CharField(max_length=6, null=True, verbose_name='N\xb0 dossier papier', blank=True)), |
|
125 |
('comment', models.TextField(default=None, null=True, verbose_name='Commentaire', blank=True)), |
|
126 |
('pause', models.BooleanField(default=False, verbose_name='Pause facturation')), |
|
127 |
('pause_comment', models.TextField(default=None, null=True, verbose_name='Commentaire sur la pause facturation', blank=True)), |
|
128 |
('confidential', models.BooleanField(default=False, verbose_name='Confidentiel')), |
|
129 |
('addresses_contacts_comment', models.TextField(default=None, null=True, verbose_name='Commentaire sur les adresses et contacts', blank=True)), |
|
130 |
('size', models.DecimalField(decimal_places=1, default=None, max_digits=5, blank=True, null=True, verbose_name='Taille (cm)')), |
|
131 |
('weight', models.IntegerField(default=None, null=True, verbose_name='Poids (g)', blank=True)), |
|
132 |
('pregnancy_term', models.IntegerField(default=None, null=True, verbose_name='Terme en semaines', blank=True)), |
|
133 |
('cranium_perimeter', models.DecimalField(decimal_places=2, default=None, max_digits=5, blank=True, null=True, verbose_name='P\xe9rim\xe8tre cranien')), |
|
134 |
('chest_perimeter', models.DecimalField(decimal_places=2, default=None, max_digits=5, blank=True, null=True, verbose_name='P\xe9rim\xe8tre thoracique')), |
|
135 |
('apgar_score_one', models.IntegerField(default=None, null=True, verbose_name="Test d'Apgar (1)", blank=True)), |
|
136 |
('apgar_score_two', models.IntegerField(default=None, null=True, verbose_name="Test d'Apgar (5)", blank=True)), |
|
137 |
('deficiency_intellectual', models.IntegerField(default=0, max_length=1, verbose_name='D\xe9ficiences intellectuelles', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
138 |
('deficiency_autism_and_other_ted', models.IntegerField(default=0, max_length=1, verbose_name='Autisme et autres TED', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
139 |
('deficiency_mental_disorder', models.IntegerField(default=0, max_length=1, verbose_name='Troubles psychiques', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
140 |
('deficiency_learning_disorder', models.IntegerField(default=0, max_length=1, verbose_name='Troubles du langage et des apprentissages', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
141 |
('deficiency_auditory', models.IntegerField(default=0, max_length=1, verbose_name='D\xe9ficiences auditives', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
142 |
('deficiency_visual', models.IntegerField(default=0, max_length=1, verbose_name='D\xe9ficiences visuelles', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
143 |
('deficiency_motor', models.IntegerField(default=0, max_length=1, verbose_name='D\xe9ficiences motrices', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
144 |
('deficiency_metabolic_disorder', models.IntegerField(default=0, max_length=1, verbose_name='D\xe9ficiences m\xe9taboliques', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
145 |
('deficiency_brain_damage', models.IntegerField(default=0, max_length=1, verbose_name='C\xe9r\xe9bro-l\xe9sions', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
146 |
('deficiency_polyhandicap', models.BooleanField(default=False, verbose_name='Polyhandicap')), |
|
147 |
('deficiency_behavioral_disorder', models.IntegerField(default=0, max_length=1, verbose_name='Troubles de la conduite et du comportement', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
148 |
('deficiency_in_diagnostic', models.BooleanField(default=False, verbose_name='En diagnostic')), |
|
149 |
('deficiency_other_disorder', models.IntegerField(default=0, max_length=1, verbose_name='Autres types de d\xe9ficience', choices=[(0, b'Non'), (1, b'A titre principal'), (2, b'A titre associ\xc3\xa9')])), |
|
150 |
('sibship_place', models.IntegerField(default=None, null=True, verbose_name='Place dans la fratrie', blank=True)), |
|
151 |
('nb_children_family', models.IntegerField(default=None, null=True, verbose_name="Nombre d'enfants dans la fratrie", blank=True)), |
|
152 |
('family_comment', models.TextField(default=None, null=True, verbose_name='Commentaire', blank=True)), |
|
153 |
('simple_appointment_transport', models.BooleanField(default=False, verbose_name='Afficher par d\xe9faut le transport sur les rendez-vous simples')), |
|
154 |
('periodic_appointment_transport', models.BooleanField(default=False, verbose_name='Afficher par d\xe9faut le transport sur les rendez-vous r\xe9guliers')), |
|
155 |
('old_id', models.CharField(max_length=256, null=True, verbose_name='Ancien ID', blank=True)), |
|
156 |
('old_old_id', models.CharField(max_length=256, null=True, verbose_name='Ancien ancien ID', blank=True)), |
|
157 |
('advicegiver', models.ForeignKey(default=None, blank=True, to='ressources.AdviceGiver', null=True, verbose_name='Demandeur')), |
|
158 |
('analysemotive', models.ForeignKey(default=None, blank=True, to='ressources.AnalyseMotive', null=True, verbose_name='Motif (analys\xe9)')), |
|
159 |
('child_custody', models.ForeignKey(default=None, blank=True, to='ressources.ParentalCustodyType', null=True, verbose_name='Garde parentale')), |
|
160 |
('contacts', models.ManyToManyField(related_name='contact_of', to='dossiers.PatientContact')), |
|
161 |
('coordinators', models.ManyToManyField(default=None, to='personnes.Worker', null=True, verbose_name='Coordinateurs', blank=True)), |
|
162 |
('creator', models.ForeignKey(verbose_name='Cr\xe9ateur dossier patient', to=settings.AUTH_USER_MODEL)), |
|
163 |
('externaldoctor', models.ForeignKey(default=None, blank=True, to='personnes.ExternalTherapist', null=True, verbose_name='M\xe9decin ext\xe9rieur')), |
|
164 |
('externalintervener', models.ForeignKey(default=None, blank=True, to='personnes.ExternalWorker', null=True, verbose_name='Intervenant ext\xe9rieur')), |
|
165 |
('family_situation', models.ForeignKey(default=None, blank=True, to='ressources.FamilySituationType', null=True, verbose_name='Situation familiale')), |
|
166 |
('familymotive', models.ForeignKey(default=None, blank=True, to='ressources.FamilyMotive', null=True, verbose_name='Motif (famille)')), |
|
167 |
('job_father', models.ForeignKey(related_name='job_father', default=None, blank=True, to='ressources.Job', null=True, verbose_name='Profession du p\xe8re')), |
|
168 |
('job_mother', models.ForeignKey(related_name='job_mother', default=None, blank=True, to='ressources.Job', null=True, verbose_name='Profession de la m\xe8re')), |
|
169 |
('last_state', models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, to='dossiers.FileState', null=True)), |
|
170 |
('mdph_requests', models.ManyToManyField(related_name='mdph_requests_of', to='ressources.MDPHRequest')), |
|
171 |
('mdph_responses', models.ManyToManyField(related_name='mdph_responses_of', to='ressources.MDPHResponse')), |
|
172 |
('mises_1', models.ManyToManyField(related_name='mises1', default=None, to='ressources.CodeCFTMEA', blank=True, null=True, verbose_name='Axe I : cat\xe9gories cliniques')), |
|
173 |
('mises_2', models.ManyToManyField(related_name='mises2', default=None, to='ressources.CodeCFTMEA', blank=True, null=True, verbose_name='Axe II : facteurs organiques')), |
|
174 |
('mises_3', models.ManyToManyField(related_name='mises3', default=None, to='ressources.CodeCFTMEA', blank=True, null=True, verbose_name='Axe II : facteurs environnementaux')), |
|
175 |
('outmotive', models.ForeignKey(default=None, blank=True, to='ressources.OutMotive', null=True, verbose_name='Motif de sortie')), |
|
176 |
('outto', models.ForeignKey(default=None, blank=True, to='ressources.OutTo', null=True, verbose_name='Orientation')), |
|
177 |
('parental_authority', models.ForeignKey(default=None, blank=True, to='ressources.ParentalAuthorityType', null=True, verbose_name='Autorit\xe9 parentale')), |
|
178 |
('policyholder', models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name=b'Assur\xc3\xa9', blank=True, to='dossiers.PatientContact', null=True)), |
|
179 |
('provenance', models.ForeignKey(default=None, blank=True, to='ressources.Provenance', null=True, verbose_name='Conseilleur')), |
|
180 |
('provenanceplace', models.ForeignKey(default=None, blank=True, to='ressources.ProvenancePlace', null=True, verbose_name='Lieu de provenance')), |
|
181 |
('rm_father', models.ForeignKey(related_name='rm_father', default=None, blank=True, to='ressources.MaritalStatusType', null=True, verbose_name='R\xe9gime matrimonial du p\xe8re')), |
|
182 |
('rm_mother', models.ForeignKey(related_name='rm_mother', default=None, blank=True, to='ressources.MaritalStatusType', null=True, verbose_name='R\xe9gime matrimonial de la m\xe8re')), |
|
183 |
('service', models.ForeignKey(blank=True, to='ressources.Service', null=True)), |
|
184 |
('socialisation_durations', models.ManyToManyField(related_name='socialisation_duration_of', to='ressources.SocialisationDuration')), |
|
185 |
('transportcompany', models.ForeignKey(default=None, blank=True, to='ressources.TransportCompany', null=True, verbose_name='Compagnie de transport')), |
|
186 |
('transporttype', models.ForeignKey(default=None, blank=True, to='ressources.TransportType', null=True, verbose_name='Type de transport')), |
|
187 |
], |
|
188 |
options={ |
|
189 |
'verbose_name': 'Dossier', |
|
190 |
'verbose_name_plural': 'Dossiers', |
|
191 |
}, |
|
192 |
bases=('dossiers.patientcontact', models.Model), |
|
193 |
), |
|
194 |
migrations.CreateModel( |
|
195 |
name='ProtectionState', |
|
196 |
fields=[ |
|
197 |
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), |
|
198 |
('created', models.DateTimeField(auto_now_add=True, verbose_name='Cr\xe9ation')), |
|
199 |
('start_date', models.DateTimeField()), |
|
200 |
('end_date', models.DateTimeField(null=True, blank=True)), |
|
201 |
('comment', models.TextField(max_length=3000, null=True, blank=True)), |
|
202 |
('patient', models.ForeignKey(verbose_name='Dossier patient', to='dossiers.PatientRecord')), |
|
203 |
], |
|
204 |
options={ |
|
205 |
'ordering': ['-start_date'], |
|
206 |
'verbose_name': 'Mesure de protection du dossier patient', |
|
207 |
'verbose_name_plural': 'Mesure de protections du dossier patient', |
|
208 |
}, |
|
209 |
bases=(models.Model,), |
|
210 |
), |
|
211 |
migrations.CreateModel( |
|
212 |
name='ProtectionStatus', |
|
213 |
fields=[ |
|
214 |
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), |
|
215 |
('name', models.CharField(max_length=150, verbose_name='Nom')), |
|
216 |
], |
|
217 |
options={ |
|
218 |
'verbose_name': "Statut d'une mesure de protection", |
|
219 |
'verbose_name_plural': "Statuts d'une mesure de protection", |
|
220 |
}, |
|
221 |
bases=(models.Model,), |
|
222 |
), |
|
223 |
migrations.CreateModel( |
|
224 |
name='SessadHealthCareNotification', |
|
225 |
fields=[ |
|
226 |
('healthcare_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='dossiers.HealthCare')), |
|
227 |
('end_date', models.DateField(null=True, verbose_name='Date de fin', blank=True)), |
|
228 |
], |
|
229 |
options={ |
|
230 |
}, |
|
231 |
bases=('dossiers.healthcare',), |
|
232 |
), |
|
233 |
migrations.CreateModel( |
|
234 |
name='Status', |
|
235 |
fields=[ |
|
236 |
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), |
|
237 |
('name', models.CharField(max_length=150, verbose_name='Nom')), |
|
238 |
('type', models.CharField(max_length=80)), |
|
239 |
('services', models.ManyToManyField(to='ressources.Service')), |
|
240 |
], |
|
241 |
options={ |
|
242 |
'verbose_name': "Statut d'un \xe9tat", |
|
243 |
'verbose_name_plural': "Statuts d'un \xe9tat", |
|
244 |
}, |
|
245 |
bases=(models.Model,), |
|
246 |
), |
|
247 |
migrations.CreateModel( |
|
248 |
name='TransportPrescriptionLog', |
|
249 |
fields=[ |
|
250 |
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), |
|
251 |
('created', models.DateTimeField(auto_now_add=True, verbose_name='Cr\xe9ation')), |
|
252 |
('choices', models.CharField(max_length=4096, null=True, blank=True)), |
|
253 |
('patient', models.ForeignKey(verbose_name='Dossier patient', to='dossiers.PatientRecord')), |
|
254 |
], |
|
255 |
options={ |
|
256 |
}, |
|
257 |
bases=(models.Model,), |
|
258 |
), |
|
259 |
migrations.AddField( |
|
260 |
model_name='protectionstate', |
|
261 |
name='status', |
|
262 |
field=models.ForeignKey(verbose_name='Statut de protection', to='dossiers.ProtectionStatus'), |
|
263 |
preserve_default=True, |
|
264 |
), |
|
265 |
migrations.AddField( |
|
266 |
model_name='patientcontact', |
|
267 |
name='addresses', |
|
268 |
field=models.ManyToManyField(to='dossiers.PatientAddress', verbose_name='Adresses'), |
|
269 |
preserve_default=True, |
|
270 |
), |
|
271 |
migrations.AddField( |
|
272 |
model_name='patientcontact', |
|
273 |
name='health_center', |
|
274 |
field=models.ForeignKey(verbose_name="Centre d'assurance maladie", blank=True, to='ressources.HealthCenter', null=True), |
|
275 |
preserve_default=True, |
|
276 |
), |
|
277 |
migrations.AddField( |
|
278 |
model_name='patientcontact', |
|
279 |
name='job', |
|
280 |
field=models.ForeignKey(related_name='job', default=None, blank=True, to='ressources.Job', null=True, verbose_name='Profession'), |
|
281 |
preserve_default=True, |
|
282 |
), |
|
283 |
migrations.AddField( |
|
284 |
model_name='patientcontact', |
|
285 |
name='management_code', |
|
286 |
field=models.ForeignKey(verbose_name='Code de gestion', blank=True, to='ressources.ManagementCode', null=True), |
|
287 |
preserve_default=True, |
|
288 |
), |
|
289 |
migrations.AddField( |
|
290 |
model_name='patientcontact', |
|
291 |
name='parente', |
|
292 |
field=models.ForeignKey(default=None, blank=True, to='ressources.PatientRelatedLink', null=True, verbose_name='Lien avec le patient (Parent\xe9)'), |
|
293 |
preserve_default=True, |
|
294 |
), |
|
295 |
migrations.AddField( |
|
296 |
model_name='healthcare', |
|
297 |
name='author', |
|
298 |
field=models.ForeignKey(verbose_name='Auteur', blank=True, to=settings.AUTH_USER_MODEL, null=True), |
|
299 |
preserve_default=True, |
|
300 |
), |
|
301 |
migrations.AddField( |
|
302 |
model_name='healthcare', |
|
303 |
name='patient', |
|
304 |
field=models.ForeignKey(verbose_name='Dossier patient', to='dossiers.PatientRecord'), |
|
305 |
preserve_default=True, |
|
306 |
), |
|
307 |
migrations.AddField( |
|
308 |
model_name='filestate', |
|
309 |
name='patient', |
|
310 |
field=models.ForeignKey(verbose_name='Dossier patient', to='dossiers.PatientRecord'), |
|
311 |
preserve_default=True, |
|
312 |
), |
|
313 |
migrations.AddField( |
|
314 |
model_name='filestate', |
|
315 |
name='previous_state', |
|
316 |
field=models.ForeignKey(on_delete=django.db.models.deletion.SET_NULL, verbose_name='Etat pr\xe9c\xe9dent', blank=True, to='dossiers.FileState', null=True), |
|
317 |
preserve_default=True, |
|
318 |
), |
|
319 |
migrations.AddField( |
|
320 |
model_name='filestate', |
|
321 |
name='status', |
|
322 |
field=models.ForeignKey(verbose_name='Statut', to='dossiers.Status'), |
|
323 |
preserve_default=True, |
|
324 |
), |
|
325 |
] |
Also available in: Unified diff
Remove old migrations and add Django 1.7 migrations.