Is there any way I can export my database from phpMyAdmin 4.9 in a way where the primary and foreign keys are declared in the CREATE TABLE statements ?
CREATE TABLE IF NOT EXISTS Address (
ID int NOT NULL,
country varchar(255) NOT NULL,
street_name varchar(255),
street_number int,
PRIMARY KEY (ID));
PhpmyAdmin writes them in a seperate ALTER TABLE statement
CREATE TABLE ...
ALTER TABLE `Address`ADD PRIMARY KEY (`ID`);
I went through the custom exportation but I did not find such an option, or maybe I missed it.