You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Make sure each ForeignKey and OneToOneField has `on_delete` set to the desired behavior
# * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table
# Feel free to rename the models, but don't rename db_table values or field names.
from django.db import models
class StudentQrAuth(models.Model):
qr_id = models.AutoField(db_column='QR_id', primary_key=True) # Field name made lowercase.
s_name = models.TextField(db_column='S_Name', db_collation='SQL_Latin1_General_CP1_CI_AS', blank=True, null=True) # Field name made lowercase.
s_enrollment_no = models.BigIntegerField(db_column='S_Enrollment_No', blank=True, null=True) # Field name made lowercase.
s_email = models.CharField(db_column='S_email', max_length=250, db_collation='SQL_Latin1_General_CP1_CI_AS', blank=True, null=True) # Field name made lowercase.
is_qr_scanned = models.BooleanField(db_column='Is_QR_scanned', blank=True, null=True) # Field name made lowercase.