diff --git a/liquibase-changelog.json b/liquibase-changelog.json index d26a81a..27bb5f8 100644 --- a/liquibase-changelog.json +++ b/liquibase-changelog.json @@ -79,5 +79,84 @@ } ] } + }, + { + "changeSet": { + "id": "3", + "author": "dsamuel", + "changes": [ + { + "addColumn": { + "tableName": "users", + "columns": [ + { + "column": { + "name": "age", + "type": "int", + "defaultValueNumeric": "0" + } + } + ] + } + } + ] + } + }, + { + "changeSet" : { + "id" : "4", + "author" : "dsamuel", + "changes" : [ + { + "createTable" : { + "tableName" : "blogs", + "columns" : [ + { + "column" : { + "name" : "id", + "type" : "int", + "constraints" : { + "primaryKey" : true, + "nullable" : false + } + } + }, + { + "column" : { + "name" : "author", + "type" : "varchar(50)", + "constraints" : { + "nullable" : false + } + } + }, + { + "column" : { + "name" : "post", + "type" : "varchar(140)", + "constraints" : { + "nullable" : false + } + } + } + ] + } + } + ] + } + }, + { + "changeSet" : { + "id" : "5", + "author" : "dsamuel", + "changes" : [ + { + "loadData" : { + "tableName" : "blogs", + "file" : "/home/ec2-user/blogs.csv" + } + } + ] + } } ]