Viewing File: /home/assersoft/tmp/sess_1505152a6929fa5b4af16b15f56022b1

 PMA_token |s:32:"782c747d553c2823666f7e5f364d5830"; HMAC_secret |s:16:"A/gT1i]WjXHv^!5t";auth_type|s:3:"env";browser_access_time|a:1:{s:7:"default";i:1735238348;}encryption_key|s:32:"�"��,���{�A�p���#
8��0~yZ�";relation|a:1:{i:1;a:41:{s:7:"version";s:5:"5.2.1";s:4:"user";N;s:2:"db";N;s:8:"bookmark";N;s:15:"central_columns";N;s:11:"column_info";N;s:17:"designer_settings";N;s:16:"export_templates";N;s:8:"favorite";N;s:7:"history";N;s:16:"navigationhiding";N;s:9:"pdf_pages";N;s:6:"recent";N;s:8:"relation";N;s:13:"savedsearches";N;s:12:"table_coords";N;s:10:"table_info";N;s:13:"table_uiprefs";N;s:8:"tracking";N;s:10:"userconfig";N;s:10:"usergroups";N;s:5:"users";N;s:12:"bookmarkwork";b:0;s:8:"mimework";b:0;s:18:"centralcolumnswork";b:0;s:8:"commwork";b:0;s:9:"menuswork";b:0;s:20:"designersettingswork";b:0;s:11:"displaywork";b:0;s:19:"exporttemplateswork";b:0;s:12:"favoritework";b:0;s:7:"navwork";b:0;s:7:"pdfwork";b:0;s:10:"recentwork";b:0;s:7:"relwork";b:0;s:17:"savedsearcheswork";b:0;s:11:"historywork";b:0;s:12:"trackingwork";b:0;s:11:"uiprefswork";b:0;s:14:"userconfigwork";b:0;s:8:"allworks";b:0;}}userconfig|a:2:{s:2:"db";a:1:{s:12:"Console/Mode";s:8:"collapse";}s:2:"ts";i:1735237990;}two_factor_check|b:1;cache|a:2:{s:8:"server_1";a:4:{s:15:"userprefs_mtime";i:1735237990;s:14:"userprefs_type";s:7:"session";s:12:"config_mtime";i:1707934956;s:9:"userprefs";a:1:{s:7:"Console";a:1:{s:4:"Mode";s:8:"collapse";}}}s:18:"server_1_assersoft";a:16:{s:17:"is_create_db_priv";b:0;s:14:"is_reload_priv";b:0;s:12:"db_to_create";s:0:"";s:30:"dbs_where_create_table_allowed";a:8:{i:0;s:13:"assersoft\_SS";i:1;s:20:"assersoft\_Sakufmain";i:2;s:20:"assersoft\_ashcroft1";i:3;s:20:"assersoft\_audiogram";i:4;s:21:"assersoft\_cleanwater";i:5;s:26:"assersoft\_demo\_audiogram";i:6;s:17:"assersoft\_royal1";i:7;s:19:"assersoft\_sakufinn";}s:11:"dbs_to_test";b:0;s:9:"proc_priv";b:0;s:10:"table_priv";b:0;s:8:"col_priv";b:0;s:7:"db_priv";b:0;s:11:"binary_logs";a:0:{}s:18:"menu-levels-server";a:13:{s:9:"databases";s:9:"Databases";s:3:"sql";s:3:"SQL";s:6:"status";s:6:"Status";s:6:"rights";s:5:"Users";s:6:"export";s:6:"Export";s:6:"import";s:6:"Import";s:8:"settings";s:8:"Settings";s:6:"binlog";s:10:"Binary log";s:11:"replication";s:11:"Replication";s:4:"vars";s:9:"Variables";s:7:"charset";s:8:"Charsets";s:7:"plugins";s:7:"Plugins";s:6:"engine";s:7:"Engines";}s:14:"menu-levels-db";a:14:{s:9:"structure";s:9:"Structure";s:3:"sql";s:3:"SQL";s:6:"search";s:6:"Search";s:5:"query";s:5:"Query";s:6:"export";s:6:"Export";s:6:"import";s:6:"Import";s:9:"operation";s:10:"Operations";s:10:"privileges";s:10:"Privileges";s:8:"routines";s:8:"Routines";s:6:"events";s:6:"Events";s:8:"triggers";s:8:"Triggers";s:8:"tracking";s:8:"Tracking";s:8:"designer";s:8:"Designer";s:15:"central_columns";s:15:"Central columns";}s:12:"is_superuser";b:0;s:14:"mysql_cur_user";s:19:"assersoft@localhost";s:12:"is_grantuser";b:0;s:13:"is_createuser";b:0;}}tmpval|a:14:{s:14:"favoriteTables";a:1:{i:1;a:0:{}}s:12:"recentTables";a:1:{i:1;a:0:{}}s:5:"query";a:10:{s:32:"367d678927a0b6c6909a0f7b5a30c6c1";a:8:{s:3:"sql";s:20:"USE DoctorAssistant;";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"0d63a512d6cdcec79dfd959ce3f954cf";a:8:{s:3:"sql";s:31:"use assersoft_doctor_assistant;";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"185723e3b48a4a4ff8d33788d887653a";a:8:{s:3:"sql";s:344:"CREATE TABLE IF NOT EXISTS Clinics(
    clinic_id INT PRIMARY KEY AUTO_INCREMENT,
    clinic_name VARCHAR(50) NOT NULL,
    subscription_status BOOLEAN NOT NULL DEFAULT 0,
    subscription_end_date DATE,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"d2c9d65b75cb781f14ec3a1dad421c4f";a:8:{s:3:"sql";s:428:"CREATE TABLE IF NOT EXISTS Subscriptions(
    subscription_id INT PRIMARY KEY AUTO_INCREMENT,
    start_date DATE NOT NULL,
    end_date DATE NOT NULL,
    subscription_fees DECIMAL(10, 2) NOT NULL,
    clinic_id INT NOT NULL,
    FOREIGN KEY (clinic_id) REFERENCES Clinics(clinic_id),
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"25a2e232cbb0d62ebe411ccaec2bbeec";a:8:{s:3:"sql";s:792:"CREATE TABLE IF NOT EXISTS Users(
    user_id INT PRIMARY KEY AUTO_INCREMENT,
    password VARCHAR(255) NOT NULL,
    user_type VARCHAR(50) NOT NULL, -- head doctor, doctor, receptionist
    activation_token VARCHAR(255),
    is_verified BOOLEAN NOT NULL DEFAULT 0,
    first_name VARCHAR(50) NOT NULL,
    last_name VARCHAR(50),
    email VARCHAR(50) NOT NULL,
    phone VARCHAR(50) NOT NULL,
    consultation_hours JSON, -- for doctor [{start: '09:00', end: '12:00'}, {start: '14:00', end: '17:00'}]
    clinic_id INT,
    refresh_token VARCHAR(255),
    reset_token VARCHAR(255),
    FOREIGN KEY (clinic_id) REFERENCES Clinics(clinic_id),
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"ca334ec1929bd272cd2b8375e7dd24ed";a:8:{s:3:"sql";s:447:"CREATE TABLE IF NOT EXISTS Patients(
    patient_id INT PRIMARY KEY AUTO_INCREMENT,
    patient_name VARCHAR(50) NOT NULL,
    phone VARCHAR(50) NOT NULL UNIQUE,
    gender VARCHAR(10) NOT NULL,
    age INT NOT NULL,
    clinic_id INT NOT NULL,
    FOREIGN KEY (clinic_id) REFERENCES Clinics(clinic_id),
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"166219202456ee56a8e27f0c3401639f";a:8:{s:3:"sql";s:701:"CREATE TABLE IF NOT EXISTS Treatments(
    treatment_id INT PRIMARY KEY AUTO_INCREMENT,
    treatment_name VARCHAR(50) NOT NULL,
    treatment_cost DECIMAL(10, 2) NOT NULL,
    treatment_start_date DATE NOT NULL,
    treatment_end_date DATE NOT NULL,
    treatment_status VARCHAR(50) NOT NULL,
    paid_amount DECIMAL(10, 2) NOT NULL,
    due_amount DECIMAL(10, 2) NOT NULL,
    patient_id INT NOT NULL,
    clinic_id INT NOT NULL,
    FOREIGN KEY (patient_id) REFERENCES Patients(patient_id),
    FOREIGN KEY (clinic_id) REFERENCES Clinics(clinic_id),
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"bf73d747e0141cfda3d6edad96734c19";a:8:{s:3:"sql";s:964:"CREATE TABLE IF NOT EXISTS Appointments(
    appointment_id INT PRIMARY KEY AUTO_INCREMENT,
    appointment_date DATE NOT NULL,
    appointment_time TIME NOT NULL,
    session_time TIME NOT NULL,
    appointment_status VARCHAR(50) NOT NULL,
    appointment_type VARCHAR(50) NOT NULL,
    doctor_remarks TEXT,
    appointment_fees DECIMAL(10, 2) NOT NULL,
    treatment_id INT NOT NULL,
    patient_id INT NOT NULL,
    doctor_id INT NOT NULL,
    receptionist_id INT NOT NULL,
    clinic_id INT NOT NULL,
    FOREIGN KEY (patient_id) REFERENCES Patients(patient_id),
    FOREIGN KEY (doctor_id) REFERENCES Users(user_id),
    FOREIGN KEY (receptionist_id) REFERENCES Users(user_id),
    FOREIGN KEY (clinic_id) REFERENCES Clinics(clinic_id),
    FOREIGN KEY (treatment_id) REFERENCES Treatments(treatment_id),
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"430525945a19d816d87bc231dc4a21fe";a:8:{s:3:"sql";s:118:"INSERT INTO Clinics(clinic_name, subscription_status, subscription_end_date) VALUES ('Assersoft', true, '2024-12-24');";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"ca3fa13fa7d132961d64d1eb062d7175";a:8:{s:3:"sql";s:300:"INSERT INTO Users(first_name, last_name, email, phone, user_type, password, is_verified, clinic_id)
VALUES(
	'Abdullah',
    'Nazir',
    'Abdullah.nazir289@gmail.com',
    '03274554985',
    'provider',
    '$2y$10$D0yyf5lCluqJXX3T7YiQmepATGdqC.afT3a59/pwoL.mQHFgTGYTy',
    true,
    1
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}}s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;s:12:"display_blob";b:0;s:19:"hide_transformation";b:0;s:3:"pos";i:0;s:8:"max_rows";i:25;s:12:"repeat_cells";i:100;s:18:"table_limit_offset";i:0;s:21:"table_limit_offset_db";s:26:"assersoft_doctor_assistant";}git_location|N;is_git_revision|b:0;ConfigFile1|a:4:{s:28:"PmaNoRelation_DisableWarning";b:1;s:12:"ShowCreateDb";b:0;s:7:"Console";a:1:{s:4:"Mode";s:8:"collapse";}s:7:"Servers";a:1:{i:1;a:2:{s:7:"only_db";s:0:"";s:7:"hide_db";s:0:"";}}}debug|a:0:{}Import_message|a:2:{s:7:"message";N;s:11:"go_back_url";s:27:"index.php?route=/server/sql";}is_multi_query|b:1;sql_from_query_box|b:1;sql_history|a:1:{i:0;a:3:{s:2:"db";s:0:"";s:5:"table";s:0:"";s:8:"sqlquery";s:300:"INSERT INTO Users(first_name, last_name, email, phone, user_type, password, is_verified, clinic_id)
VALUES(
	'Abdullah',
    'Nazir',
    'Abdullah.nazir289@gmail.com',
    '03274554985',
    'provider',
    '$2y$10$D0yyf5lCluqJXX3T7YiQmepATGdqC.afT3a59/pwoL.mQHFgTGYTy',
    true,
    1
);";}}flashMessages|a:0:{}errors|a:0:{}
Back to Directory File Manager