Commit 7206d5ba authored by M.S.M.Perera's avatar M.S.M.Perera

Exams table created

parent 1063fda2
......@@ -21,6 +21,7 @@ class Gazette(models.Model):
GazetteDate = models.CharField(max_length=100)
PriceAvl = models.CharField(
max_length=100, default="0")
#post vaconcy table created
class G_POST_V(models.Model):
GID = models.AutoField(primary_key=True)
......@@ -29,7 +30,16 @@ class G_POST_V(models.Model):
District = models.CharField(max_length=50)
Description = models.CharField(max_length=2000)
class Exm(models.Model):
id = models.AutoField(primary_key=True)
department = models.CharField(max_length=20000)
title = models.CharField(max_length=20000)
description = models.CharField(max_length=20000)
summary = models.CharField(max_length=20000)
date = models.CharField(max_length=20000)
url = models.CharField(max_length=20000)
cat = models.CharField(max_length=100)
class G_GEN(models.Model):
rowId = models.AutoField(primary_key=True)
GazetteNo = models.ForeignKey(Gazette, on_delete=models.CASCADE)
......@@ -55,16 +65,6 @@ class Vac(models.Model):
cat = models.CharField(max_length=100)
class Exm(models.Model):
id = models.AutoField(primary_key=True)
department = models.CharField(max_length=20000)
title = models.CharField(max_length=20000)
description = models.CharField(max_length=20000)
summary = models.CharField(max_length=20000)
date = models.CharField(max_length=20000)
url = models.CharField(max_length=20000)
cat = models.CharField(max_length=100)
#Compare Table created
class ComCompare(models.Model):
id = models.AutoField(primary_key=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment