[#3451] Added support for PRIMARY KEY and UNIQUE KEY constraints