The document contains the schema for several database tables including tables for parties, personalities, subjects, statements, and tags. The party table stores information about political parties like name, description, founder, and social media accounts. The personality table contains details of individual politicians like name, date of birth, party affiliation, and social profiles. The statement table saves political statements along with metadata on author, date, subject, and more. Tags and their relationships to posts are also defined.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
151 views2 pages
Partytable Name Type Allow Null Primary Key
The document contains the schema for several database tables including tables for parties, personalities, subjects, statements, and tags. The party table stores information about political parties like name, description, founder, and social media accounts. The personality table contains details of individual politicians like name, date of birth, party affiliation, and social profiles. The statement table saves political statements along with metadata on author, date, subject, and more. Tags and their relationships to posts are also defined.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
PartyTable
NAME TYPE ALLOW NULL PRIMARY KEY
id INTEGER c Name TEXT c Discription TEXT Founder (PersonID) INTEGER c EstablishedOn TIMESTAMP c HeadOffice VARCHAR PartyFlag VARCHAR OfficialWebPage TIMESTAMP OfficialFbPage VARCHAR TwitterID VARCHAR History TEXT PersonalityTable NAME TYPE ALLOW NULL PRIMARY KEY id INTEGER c Name VARCHAR c Discription TEXT DOB TIMESTAMP c PartyID INTEGER c PartyDesig VARCHAR FbPage VARCHAR TwitterID VARCHAR Email VARCHAR c Contact VARCHAR c History TEXT SubjectTable NAME TYPE ALLOW NULL PRIMARY KEY id INTEGER c Title TEXT c Discription TEXT StatementTable NAME TYPE ALLOW NULL PRIMARY KEY id INTEGER c StmtText TEXT c StmtBy VARCHAR c StmtDate TIMESTAMP c StmtSubjectID INTEGER c StmtVenue VARCHAR StmtEvent VARCHAR StmtAboutPerson (Person ID) INTEGER StmtForAgainstSubject (SUBJECT ID) INTEGER StmtForAgainstPerson (Person ID) INTEGER StmtValidity VARCHAR c TagsTable NAME TYPE ALLOW NULL PRIMARY KEY id INTEGER c TagDesc TEXT c PostTagsTable NAME TYPE ALLOW NULL PRIMARY KEY TagID INTEGER c PostID INTEGER c