Commit 1063fda2 authored by M.S.M.Perera's avatar M.S.M.Perera

Post vacancy table created

parent 7f7e9c56
......@@ -20,14 +20,8 @@ class Gazette(models.Model):
GazetteNo = models.IntegerField(primary_key=True)
GazetteDate = models.CharField(max_length=100)
PriceAvl = models.CharField(
max_length=100, default="0")
class G_GEN(models.Model):
rowId = models.AutoField(primary_key=True)
GazetteNo = models.ForeignKey(Gazette, on_delete=models.CASCADE)
max_length=100, default="0")
#post vaconcy table created
class G_POST_V(models.Model):
GID = models.AutoField(primary_key=True)
GazetteNo = models.IntegerField()
......@@ -35,6 +29,12 @@ class G_POST_V(models.Model):
District = models.CharField(max_length=50)
Description = models.CharField(max_length=2000)
class G_GEN(models.Model):
rowId = models.AutoField(primary_key=True)
GazetteNo = models.ForeignKey(Gazette, on_delete=models.CASCADE)
#Create Commoditity Value Table
class Commodity(models.Model):
ITEM = 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