CREATE SEQUENCE  "SUCCESSFUL_VOTES_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE  NOORDER  NOCYCLE;

CREATE SEQUENCE  "FAILED_VOTES_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE  NOORDER  NOCYCLE;

CREATE TABLE "SUCCESSFUL_VOTES"
(	 "ID" NUMBER(11,0) PRIMARY KEY NOT NULL,
   "VOTING_CARD_ID" VARCHAR2(100 BYTE) NOT NULL,
   "TIMESTAMP" VARCHAR2(50 CHAR) NOT NULL,
   "RECEIPT" VARCHAR2(100 CHAR) NOT NULL
);

CREATE TABLE "FAILED_VOTES"
(	  "ID" NUMBER(11,0) PRIMARY KEY NOT NULL,
    "VOTING_CARD_ID" VARCHAR2(100 BYTE) NOT NULL,
    "TIMESTAMP" VARCHAR2(50 CHAR) NOT NULL,
    "VALIDATION_ERROR" VARCHAR(100 CHAR) NOT NULL,
    "RECEIPT" VARCHAR2(100 CHAR) NOT NULL
) ;

