Skip to content

Commit

Permalink
fix: cdswebsites exstudents links sliders
Browse files Browse the repository at this point in the history
  • Loading branch information
revelis-vincenzo committed Nov 21, 2023
1 parent 549db43 commit cf2cdb6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class Migration(migrations.Migration):
('descrizione_link_en', models.CharField(blank=True, db_column='DESCRIZIONE_LINK_EN', max_length=2000, null=True)),
('link_it', models.CharField(blank=True, db_column='LINK_IT', max_length=2000, null=True)),
('link_en', models.CharField(blank=True, db_column='LINK_EN', max_length=2000, null=True)),
('id_sito_web_cds_dati_base', models.IntegerField(db_column='ID_SITO_WEB_CDS_DATI_BASE')),
('id_sito_web_cds_dati_base', models.ForeignKey(db_column='ID_SITO_WEB_CDS_DATI_BASE', on_delete=django.db.models.deletion.CASCADE, to='ricerca_app.sitowebcdsdatibase')),
('dt_mod', models.DateField(blank=True, db_column='DT_MOD', null=True)),
('id_user_mod', models.ForeignKey(blank=True, db_column='ID_USER_MOD', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)),
],
Expand Down
4 changes: 2 additions & 2 deletions ricerca_app/migrations/0105_auto_20230419_1540.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='sitowebcdsexstudenti',
name='id_sito_web_cds_dati_base',
field=models.ForeignKey(db_column='ID_SITO_WEB_CDS_DATI_BASE', on_delete=django.db.models.deletion.DO_NOTHING, to='ricerca_app.sitowebcdsdatibase'),
field=models.ForeignKey(db_column='ID_SITO_WEB_CDS_DATI_BASE', on_delete=django.db.models.deletion.CASCADE, to='ricerca_app.sitowebcdsdatibase'),
),
migrations.AlterField(
model_name='sitowebcdsexstudenti',
Expand All @@ -78,7 +78,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='sitowebcdsslider',
name='id_sito_web_cds_dati_base',
field=models.ForeignKey(blank=True, db_column='ID_SITO_WEB_CDS_DATI_BASE', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='ricerca_app.sitowebcdsdatibase'),
field=models.ForeignKey(blank=True, db_column='ID_SITO_WEB_CDS_DATI_BASE', null=True, on_delete=django.db.models.deletion.CASCADE, to='ricerca_app.sitowebcdsdatibase'),
),
migrations.AlterField(
model_name='sitowebcdsslider',
Expand Down
6 changes: 3 additions & 3 deletions ricerca_app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4088,7 +4088,7 @@ class SitoWebCdsExStudenti(models.Model):
profilo_en = models.TextField(db_column='PROFILO_EN', blank=True, null=True) # Field name made lowercase.
link_it = models.CharField(db_column='LINK_IT', max_length=2000, blank=True, null=True) # Field name made lowercase.
link_en = models.CharField(db_column='LINK_EN', max_length=2000, blank=True, null=True) # Field name made lowercase.
id_sito_web_cds_dati_base = models.ForeignKey(SitoWebCdsDatiBase, models.DO_NOTHING, db_column='ID_SITO_WEB_CDS_DATI_BASE', to_field='id') # Field name made lowercase.
id_sito_web_cds_dati_base = models.ForeignKey(SitoWebCdsDatiBase, models.CASCADE, db_column='ID_SITO_WEB_CDS_DATI_BASE', to_field='id') # Field name made lowercase.
dt_mod = models.DateField(db_column='DT_MOD', blank=True, null=True) # Field name made lowercase.
id_user_mod = models.ForeignKey(get_user_model(), on_delete=models.DO_NOTHING, db_column='ID_USER_MOD', blank=True, null=True) # Field name made lowercase.
foto = models.FileField(
Expand All @@ -4112,7 +4112,7 @@ class SitoWebCdsLink(models.Model):
descrizione_link_en = models.CharField(db_column='DESCRIZIONE_LINK_EN', max_length=2000, blank=True, null=True) # Field name made lowercase.
link_it = models.CharField(db_column='LINK_IT', max_length=2000, blank=True, null=True) # Field name made lowercase.
link_en = models.CharField(db_column='LINK_EN', max_length=2000, blank=True, null=True) # Field name made lowercase.
id_sito_web_cds_dati_base = models.IntegerField(db_column='ID_SITO_WEB_CDS_DATI_BASE') # Field name made lowercase.
id_sito_web_cds_dati_base = models.ForeignKey(SitoWebCdsDatiBase, models.CASCADE, db_column='ID_SITO_WEB_CDS_DATI_BASE', to_field='id') # Field name made lowercase.
dt_mod = models.DateField(db_column='DT_MOD', blank=True, null=True) # Field name made lowercase.
id_user_mod = models.ForeignKey(get_user_model(), on_delete=models.DO_NOTHING, db_column='ID_USER_MOD', blank=True, null=True) # Field name made lowercase.

Expand All @@ -4123,7 +4123,7 @@ class Meta:

class SitoWebCdsSlider(models.Model):
id = models.AutoField(db_column='ID', primary_key=True) # Field name made lowercase.
id_sito_web_cds_dati_base = models.ForeignKey(SitoWebCdsDatiBase, models.DO_NOTHING, db_column='ID_SITO_WEB_CDS_DATI_BASE', blank=True, null=True, to_field='id') # Field name made lowercase.
id_sito_web_cds_dati_base = models.ForeignKey(SitoWebCdsDatiBase, models.CASCADE, db_column='ID_SITO_WEB_CDS_DATI_BASE', blank=True, null=True, to_field='id') # Field name made lowercase.
ordine = models.IntegerField(db_column='ORDINE', blank=True, null=True) # Field name made lowercase.
slider_it = models.TextField(db_column='SLIDER_IT', blank=True, null=True) # Field name made lowercase.
slider_en = models.TextField(db_column='SLIDER_EN', blank=True, null=True) # Field name made lowercase.
Expand Down

0 comments on commit cf2cdb6

Please sign in to comment.