Skip to content

c-redd/UID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Universal ID System

This is the repository for the Universal identification System

⚙ Requirements

🔧 Schema

  • Voters + Polling Sation

    CREATE TABLE test_PollingStation (
    PollingStationID int NOT NULL,
    Name varchar(255) NOT NULL,
    PRIMARY KEY (PollingStationID));
    
    CREATE TABLE test_Voters (
    ClientID int NOT NULL,
    CardNumber  varchar(8) NOT NULL,
    IssueDate DATE NOT NULL,
    PollingStation int NOT NULL,
    PRIMARY KEY (ClientID),
    FOREIGN KEY (PollingStation) REFERENCES test_PollingStation(PollingStationID));
    
    INSERT INTO test_PollingStation
    VALUES (1, "Cavendish");
    INSERT INTO test_PollingStation
    VALUES (2, "UNZA");
    

📚 Adding dependencies

  • Just edit Maven's config file (pom.xml) and add whatever plugin you need

      <dependencies>
          <dependency>
              <groupId>org.eclipse.persistence</groupId>
              <artifactId>javax.persistence</artifactId>
              <version>2.2.1</version>
          </dependency>
      </dependencies>
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages