{"id":1700,"date":"2019-04-13T18:19:57","date_gmt":"2019-04-13T16:19:57","guid":{"rendered":"http:\/\/www.kavdesign.net\/blog\/?p=1700"},"modified":"2019-04-13T18:19:58","modified_gmt":"2019-04-13T16:19:58","slug":"mysql-insert-a-new-index-id-column-at-the-beginning-of-the-table","status":"publish","type":"post","link":"https:\/\/www.kavdesign.net\/blog\/coding\/mysql-insert-a-new-index-id-column-at-the-beginning-of-the-table\/","title":{"rendered":"MySQL &#8211; insert a new index id column at the beginning of the table"},"content":{"rendered":"<p>ALTER TABLE my_table ADD id INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ALTER TABLE my_table ADD id INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[9],"tags":[446],"class_list":["post-1700","post","type-post","status-publish","format-standard","hentry","category-coding","tag-mysql","entry"],"_links":{"self":[{"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts\/1700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/comments?post=1700"}],"version-history":[{"count":1,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts\/1700\/revisions"}],"predecessor-version":[{"id":1701,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/posts\/1700\/revisions\/1701"}],"wp:attachment":[{"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/media?parent=1700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/categories?post=1700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kavdesign.net\/blog\/wp-json\/wp\/v2\/tags?post=1700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}