Updated the table class files to allow a nullable ad special ID and changed the enum in the new modify record form to a boolean. Added a form to manage ad special keywords, still needs to handle removing them properly.
This commit is contained in:
@@ -53,8 +53,7 @@ RowPosition INTEGER NOT NULL,
|
||||
RowAttribute INTEGER NOT NULL, --Rename to "HeaderId"? Point to the header group's ID number perhaps?
|
||||
--Now begin all the foreign keys.
|
||||
FkAdItemId INTEGER NOT NULL FOREIGN KEY REFERENCES AdItems(Id),
|
||||
FkAdSpecialId INTEGER NOT NULL,
|
||||
--FkAdSpecialId INTEGER NOT NULL FOREIGN KEY REFERENCES AdSpecials(Id), --Can be NULL
|
||||
FkAdSpecialId INTEGER FOREIGN KEY REFERENCES AdSpecials(Id), --Can be NULL
|
||||
FkDateId INTEGER NOT NULL FOREIGN KEY REFERENCES WeekEndingDates(Id)
|
||||
)
|
||||
|
||||
@@ -73,8 +72,7 @@ RowPosition INTEGER NOT NULL,
|
||||
RowAttribute INTEGER NOT NULL, --Rename to "HeaderId"? Point to the header group's ID number perhaps?
|
||||
--Now begin all the foreign keys.
|
||||
FkAdItemId INTEGER NOT NULL FOREIGN KEY REFERENCES AdItems(Id),
|
||||
FkAdSpecialId INTEGER NOT NULL,
|
||||
--FkAdSpecialId INTEGER NOT NULL FOREIGN KEY REFERENCES AdSpecials(Id), --Can be NULL
|
||||
FkAdSpecialId INTEGER FOREIGN KEY REFERENCES AdSpecials(Id), --Can be NULL
|
||||
FkDateId INTEGER NOT NULL FOREIGN KEY REFERENCES WeekEndingDates(Id)
|
||||
)
|
||||
|
||||
@@ -96,8 +94,7 @@ RowPosition INTEGER NOT NULL,
|
||||
RowAttribute INTEGER NOT NULL, --Rename to "HeaderId"? Point to the header group's ID number perhaps?
|
||||
--Now begin all the foreign keys.
|
||||
FkAdItemId INTEGER NOT NULL FOREIGN KEY REFERENCES AdItems(Id),
|
||||
FkAdSpecialId INTEGER NOT NULL,
|
||||
--FkAdSpecialId INTEGER NOT NULL FOREIGN KEY REFERENCES AdSpecials(Id), --Can be NULL
|
||||
FkAdSpecialId INTEGER FOREIGN KEY REFERENCES AdSpecials(Id), --Can be NULL
|
||||
FkDateId INTEGER NOT NULL FOREIGN KEY REFERENCES WeekEndingDates(Id)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user