Commit 76a1d49b authored by Deep Dey's avatar Deep Dey

feat: add database schema

parent 0bb5e24a
CREATE TABLE admission_form_data (
id BIGSERIAL PRIMARY KEY,
school VARCHAR(255) NOT NULL,
category VARCHAR(255) NOT NULL,
full_name VARCHAR(255) NOT NULL,
admission_class VARCHAR(255) NOT NULL,
date_of_birth VARCHAR(20) NOT NULL,
nationality VARCHAR(255) NOT NULL,
religion VARCHAR(255) NOT NULL,
mother_tongue VARCHAR(255) NOT NULL,
community VARCHAR(255) NOT NULL,
other_children VARCHAR(255),
marital_status VARCHAR(50) NOT NULL,
father_name VARCHAR(255) NOT NULL,
father_mobile VARCHAR(20) NOT NULL,
father_email VARCHAR(255) NOT NULL,
father_nationality VARCHAR(255) NOT NULL,
father_religion VARCHAR(255) NOT NULL,
father_mother_tongue VARCHAR(255) NOT NULL,
father_community VARCHAR(255) NOT NULL,
father_school_info VARCHAR(255) NOT NULL,
father_college_info VARCHAR(255),
father_university_info VARCHAR(255),
father_professional_qualification VARCHAR(255),
father_occupation VARCHAR(255) NOT NULL,
father_monthly_income VARCHAR(50) NOT NULL,
father_workplace_info VARCHAR(255),
mother_name VARCHAR(255) NOT NULL,
mother_mobile VARCHAR(20),
mother_email VARCHAR(255),
mother_nationality VARCHAR(255) NOT NULL,
mother_religion VARCHAR(255) NOT NULL,
mother_mother_tongue VARCHAR(255) NOT NULL,
mother_community VARCHAR(255) NOT NULL,
mother_school_info VARCHAR(255) NOT NULL,
mother_college_info VARCHAR(255),
mother_university_info VARCHAR(255),
mother_professional_qualification VARCHAR(255),
mother_occupation VARCHAR(255),
mother_monthly_income VARCHAR(50),
mother_workplace_info VARCHAR(255),
candidate_image_name VARCHAR(255),
father_image_name VARCHAR(255),
mother_image_name VARCHAR(255),
created_at TIMESTAMP NOT NULL DEFAULT now()
);
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