{"id":98,"date":"2010-01-28T11:05:27","date_gmt":"2010-01-28T17:05:27","guid":{"rendered":"http:\/\/thenoyes.com\/littlenoise\/?p=98"},"modified":"2014-05-28T16:02:12","modified_gmt":"2014-05-28T21:02:12","slug":"make-an-alter-table-script-with-mysql-workbench","status":"publish","type":"post","link":"https:\/\/thenoyes.com\/littlenoise\/?p=98","title":{"rendered":"Make an ALTER TABLE script with MySQL Workbench"},"content":{"rendered":"<p>So you have two versions of a database sitting around &#8211; maybe you&#8217;ve been trying things out on your development box, and now you want to move it all over to production. If it&#8217;s just a new table here and an extra column there, you could do it by hand, but if you&#8217;ve made lots of changes, it would be nice to let the computer do it for you.<\/p>\n<p>Enter <del datetime=\"2014-05-28T21:01:02+00:00\">MySQL Workbench<\/del><a href=\"http:\/\/dev.mysql.com\/doc\/mysql-utilities\/1.3\/en\/mysqldiff.html\">mysqldiff<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So you have two versions of a database sitting around &#8211; maybe you&#8217;ve been trying things out on your development box, and now you want to move it all over to production. If it&#8217;s just a new table here and an extra column there, you could do it by hand, but if you&#8217;ve made lots [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-mysql"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2IBF1-1A","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=98"}],"version-history":[{"count":1,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":295,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions\/295"}],"wp:attachment":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}