База данных: api_db
CREATE TABLE IF NOT EXISTS user
(
id
int(11) NOT NULL AUTO_INCREMENT,
name
varchar(255) NOT NULL,
email
varchar(256) NOT NULL,
phone
varchar(256) NOT NULL,
UNIQUE (name
),
PRIMARY KEY (id
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;