{"id":15627,"date":"2014-09-26T00:06:14","date_gmt":"2014-09-25T18:36:14","guid":{"rendered":"https:\/\/2thenew.today\/blog\/?p=15627"},"modified":"2014-09-26T10:01:08","modified_gmt":"2014-09-26T04:31:08","slug":"database-migration-using-flyway-on-aws-rds","status":"publish","type":"post","link":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/","title":{"rendered":"Database Migration using Flyway on AWS RDS"},"content":{"rendered":"<p>Database migrations often are a necessity in the application development and maintenance life-cycle.Whenever we need to apply changes to the database structure, insert new data fragments and in doing so want to be sure that this all happens with some control and versioning.<\/p>\n<p><strong>Database migrations are a great way to regain control of this mess.<\/strong> They allow you to:<\/p>\n<ul>\n<li>Recreate a database from scratch<\/li>\n<li>Make it clear at all times what state a database is in<\/li>\n<li>Migrate in a deterministic way from your current version of the database to a newer one<\/li>\n<\/ul>\n<p>&nbsp;<br \/>\nHere We&#8217;ll be migrating a MySQL Database on AWS RDS using Flyway DB migration tool.<br \/>\nFirst of all download flyway from flyway website and extract it. (http:\/\/flywaydb.org\/)<br \/>\nDownload link :<br \/>\n<a href=\"http:\/\/repo1.maven.org\/maven2\/org\/flywaydb\/flyway-commandline\/3.0\/flyway-commandline-3.0.zip\">http:\/\/repo1.maven.org\/maven2\/org\/flywaydb\/flyway-commandline\/3.0\/flyway-commandline-3.0.zip<\/a><\/p>\n<p>Change the directory after extracting it.<\/p>\n<pre>cd flyway-3.0<\/pre>\n<p>There are two ways to migrate:<\/p>\n<p>1. Edit the configuration file in order to specify DB endpoint, username and local sql files directory.<br \/>\n2. Pass the DB endpoint, username and local sql files directory etc on command line .<\/p>\n<p>We can edit the configuration file \/conf\/flyway.properties and can specify the parameters.<\/p>\n<p>We&#8217;ll follow second method i.e. command line parameters.<\/p>\n<p>Now Create the first Migration.<\/p>\n<p>Create a first migration in the \/sql directory called 1.0.0__Create_employee_table.sql<\/p>\n<p>[js]create table EMPLOYEE (<br \/>\n    ID int not null,<br \/>\n    NAME varchar(100) not null<br \/>\n);[\/js]<\/p>\n<p>Migrate the database to version say Version 1.0.0.<\/p>\n<p>flyway-3.0\/flyway -url=&lt;DATABASE_URL&gt; -user=&lt;DATABASE_USER&gt; -password=&lt;DATABASE_PASSWORD&gt; -target=&lt;DATABASE_VERSION&gt; migrate<\/p>\n<p><span style=\"text-decoration: underline\">For Example<\/span> :<br \/>\nflyway-3.0\/flyway -url=jdbc:mysql:\/\/*************.rds.amazonaws.com:3306 -user=root -password=password -target=1.0.0 migrate<\/p>\n<p>In the above scenario the default location of sql files is \/sql directory.We can also specify our own sql files directory location instead of default like mention below :<\/p>\n<p>flyway-3.0\/flyway -url=&lt;DATABASE_URL&gt; -user=&lt;DATABASE_USER&gt; -password=&lt;DATABASE_PASSWORD&gt; -locations=filesystem:&lt;LOCATION&gt; -target=&lt;DATABASE_VERSION&gt; migrate<\/p>\n<p>After executing this command, you will get output like this<\/p>\n<pre>Migrating schema \"PUBLIC\" to version 1.0.0 Successfully\r\napplied 1 migration to schema \"PUBLIC\" (execution time 00:00.065s).<\/pre>\n<hr \/>\n<p>Now lets move to further steps<\/p>\n<h2>Creating a second migration<\/h2>\n<p>We&#8217;ll now add a second migration to the \/sql directory called V1.1.0__Add_employee.sql<\/p>\n<p>[js]insert into EMPLOYEE (ID, NAME) values (1, &#8216;Mr.<br \/>\nKumar&#8217;);<br \/>\ninsert into EMPLOYEE (ID, NAME) values (2, &#8216;Mr.<br \/>\nTomar&#8217;);<br \/>\ninsert into<br \/>\nEMPLOYEE (ID, NAME) values (3, &#8216;Mr. Bhatia&#8217;);[\/js]<\/p>\n<p>Now we can migrate the database to version say Version 1.1.0.<\/p>\n<p>flyway-3.0\/flyway -url=&lt;DATABASE_URL&gt; -user=&lt;DATABASE_USER&gt; -password=&lt;DATABASE_PASSWORD&gt; -target=&lt;DATABASE_VERSION&gt; migrate<\/p>\n<p>After executing this command, you will get output like this<\/p>\n<pre>Current version of schema \"PUBLIC\": 1.0.0\r\nMigrating schema \"PUBLIC\" to version 1.1.0\r\nSuccessfully applied 1 migration to schema \"PUBLIC\" (execution time 00:00.089s).<\/pre>\n<p>Important Action :<\/p>\n<p>If you are upgrading an existing database to a newer version, before that either take RDS Snapshot or mysql dump or both in order to restore it to previous version if any failure occurs during migration.<\/p>\n<p>&#8212; RDS Snapshot we can easily take from AWS RDS Console by selecting your RDS DB instance and clicking on instance Actions.<br \/>\nIn Instance Actions click on Take DB Snapshot . Enter snapshot name and click on Yes, Take Snapshot.<\/p>\n<p>&#8212; We can take dump of mysql by issuing following command :<br \/>\nmysqldump -u &lt;DATABASE_USER&gt; -p &lt;DATABASE_PASSWORD&gt; &lt;DATABASE&gt; &gt; &lt;SQL_FILE_NAME.sql&gt;<\/p>\n<p>References :<br \/>\n<a href=\"http:\/\/flywaydb.org\/\">http:\/\/flywaydb.org\/<\/a><br \/>\n<a href=\"http:\/\/docs.aws.amazon.com\/AmazonRDS\/latest\/UserGuide\/USER_CreateSnapshot.html\">http:\/\/docs.aws.amazon.com\/AmazonRDS\/latest\/UserGuide\/USER_CreateSnapshot.html<\/a><\/p>\n<hr \/>\n<p>Thanks<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nIshant Kumar<br \/>\n<a href=\"http:\/\/aws.amazon.com\/certification\/certification-levels\/certified-solutions-architect-associate\/\" target=\"_blank\" rel=\"nofollow\">AWS Certified Solution Architect \u2013 Associate<\/a><br \/>\nAWS Administrator @ Intelligrape<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Database migrations often are a necessity in the application development and maintenance life-cycle.Whenever we need to apply changes to the database structure, insert new data fragments and in doing so want to be sure that this all happens with some control and versioning. Database migrations are a great way to regain control of this mess. [&hellip;]<\/p>\n","protected":false},"author":125,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":36,"footnotes":""},"categories":[1174],"tags":[],"class_list":["post-15627","post","type-post","status-publish","format-standard","hentry","category-aws-2"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Database migrations often are a necessity in the application development and maintenance life-cycle.Whenever we need to apply changes to the database structure, insert new data fragments and in doing so want to be sure that this all happens with some control and versioning. Database migrations are a great way to regain control of this mess.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Ishant Kumar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Database Migration using Flyway on AWS RDS | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Database migrations often are a necessity in the application development and maintenance life-cycle.Whenever we need to apply changes to the database structure, insert new data fragments and in doing so want to be sure that this all happens with some control and versioning. Database migrations are a great way to regain control of this mess.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Database Migration using Flyway on AWS RDS | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Database migrations often are a necessity in the application development and maintenance life-cycle.Whenever we need to apply changes to the database structure, insert new data fragments and in doing so want to be sure that this all happens with some control and versioning. Database migrations are a great way to regain control of this mess.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/database-migration-using-flyway-on-aws-rds\\\/#article\",\"name\":\"Database Migration using Flyway on AWS RDS | TO THE NEW Blog\",\"headline\":\"Database Migration using Flyway on AWS RDS\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ishant-kumar\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2014-09-26T00:06:14+05:30\",\"dateModified\":\"2014-09-26T10:01:08+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/database-migration-using-flyway-on-aws-rds\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/database-migration-using-flyway-on-aws-rds\\\/#webpage\"},\"articleSection\":\"AWS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/database-migration-using-flyway-on-aws-rds\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"name\":\"AWS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"position\":2,\"name\":\"AWS\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/database-migration-using-flyway-on-aws-rds\\\/#listItem\",\"name\":\"Database Migration using Flyway on AWS RDS\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/database-migration-using-flyway-on-aws-rds\\\/#listItem\",\"position\":3,\"name\":\"Database Migration using Flyway on AWS RDS\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"name\":\"AWS\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ishant-kumar\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ishant-kumar\\\/\",\"name\":\"Ishant Kumar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/database-migration-using-flyway-on-aws-rds\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f7587543c07b0183d1058be05a84ee4ea5875673b9ce82fd859f6e6c4ce3843e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Ishant Kumar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/database-migration-using-flyway-on-aws-rds\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/database-migration-using-flyway-on-aws-rds\\\/\",\"name\":\"Database Migration using Flyway on AWS RDS | TO THE NEW Blog\",\"description\":\"Database migrations often are a necessity in the application development and maintenance life-cycle.Whenever we need to apply changes to the database structure, insert new data fragments and in doing so want to be sure that this all happens with some control and versioning. Database migrations are a great way to regain control of this mess.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/database-migration-using-flyway-on-aws-rds\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ishant-kumar\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ishant-kumar\\\/#author\"},\"datePublished\":\"2014-09-26T00:06:14+05:30\",\"dateModified\":\"2014-09-26T10:01:08+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Database Migration using Flyway on AWS RDS | TO THE NEW Blog","description":"Database migrations often are a necessity in the application development and maintenance life-cycle.Whenever we need to apply changes to the database structure, insert new data fragments and in doing so want to be sure that this all happens with some control and versioning. Database migrations are a great way to regain control of this mess.","canonical_url":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/#article","name":"Database Migration using Flyway on AWS RDS | TO THE NEW Blog","headline":"Database Migration using Flyway on AWS RDS","author":{"@id":"https:\/\/2thenew.today\/blog\/author\/ishant-kumar\/#author"},"publisher":{"@id":"https:\/\/2thenew.today\/blog\/#organization"},"datePublished":"2014-09-26T00:06:14+05:30","dateModified":"2014-09-26T10:01:08+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/#webpage"},"articleSection":"AWS"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.today\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/aws-2\/#listItem","name":"AWS"}},{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/aws-2\/#listItem","position":2,"name":"AWS","item":"https:\/\/2thenew.today\/blog\/category\/aws-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/#listItem","name":"Database Migration using Flyway on AWS RDS"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/#listItem","position":3,"name":"Database Migration using Flyway on AWS RDS","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/aws-2\/#listItem","name":"AWS"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.today\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.today\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.today\/blog\/author\/ishant-kumar\/#author","url":"https:\/\/2thenew.today\/blog\/author\/ishant-kumar\/","name":"Ishant Kumar","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f7587543c07b0183d1058be05a84ee4ea5875673b9ce82fd859f6e6c4ce3843e?s=96&d=mm&r=g","width":96,"height":96,"caption":"Ishant Kumar"}},{"@type":"WebPage","@id":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/#webpage","url":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/","name":"Database Migration using Flyway on AWS RDS | TO THE NEW Blog","description":"Database migrations often are a necessity in the application development and maintenance life-cycle.Whenever we need to apply changes to the database structure, insert new data fragments and in doing so want to be sure that this all happens with some control and versioning. Database migrations are a great way to regain control of this mess.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.today\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.today\/blog\/author\/ishant-kumar\/#author"},"creator":{"@id":"https:\/\/2thenew.today\/blog\/author\/ishant-kumar\/#author"},"datePublished":"2014-09-26T00:06:14+05:30","dateModified":"2014-09-26T10:01:08+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.today\/blog\/#website","url":"https:\/\/2thenew.today\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.today\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Database Migration using Flyway on AWS RDS | TO THE NEW Blog","og:description":"Database migrations often are a necessity in the application development and maintenance life-cycle.Whenever we need to apply changes to the database structure, insert new data fragments and in doing so want to be sure that this all happens with some control and versioning. Database migrations are a great way to regain control of this mess.","og:url":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/","og:image":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Database Migration using Flyway on AWS RDS | TO THE NEW Blog","twitter:description":"Database migrations often are a necessity in the application development and maintenance life-cycle.Whenever we need to apply changes to the database structure, insert new data fragments and in doing so want to be sure that this all happens with some control and versioning. Database migrations are a great way to regain control of this mess.","twitter:image":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"15627","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 12:52:24","updated":"2024-02-29 08:41:23","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.today\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.today\/blog\/category\/aws-2\/\" title=\"AWS\">AWS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDatabase Migration using Flyway on AWS RDS\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.today\/blog"},{"label":"AWS","link":"https:\/\/2thenew.today\/blog\/category\/aws-2\/"},{"label":"Database Migration using Flyway on AWS RDS","link":"https:\/\/2thenew.today\/blog\/database-migration-using-flyway-on-aws-rds\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts\/15627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/users\/125"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/comments?post=15627"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts\/15627\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/media?parent=15627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/categories?post=15627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/tags?post=15627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}