From 8c47371fa7a1af392a470a4f971f51f8518d4ef8 Mon Sep 17 00:00:00 2001 From: Min Zeya Phyo Date: Tue, 6 Jun 2017 12:04:56 +0630 Subject: [PATCH 1/3] seed generator --- Gemfile.lock | 2 -- 1 file changed, 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 5dce67dc..e2c1dd73 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -119,7 +119,6 @@ GEM nokogiri (1.7.2) mini_portile2 (~> 2.1.0) pdf-core (0.7.0) - pg (0.20.0) prawn (2.2.2) pdf-core (~> 0.7.0) ttfunk (~> 1.5) @@ -253,7 +252,6 @@ DEPENDENCIES kaminari! listen (~> 3.0.5) mysql2 (>= 0.3.18, < 0.5) - pg prawn prawn-table puma (~> 3.0) From 137267514b4e4c56ac47573e9e37fdfdb76bac53 Mon Sep 17 00:00:00 2001 From: Min Zeya Phyo Date: Mon, 12 Jun 2017 07:21:09 +0630 Subject: [PATCH 2/3] bundle gemlock --- Gemfile.lock | 2 -- 1 file changed, 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index fbf61a33..8780a375 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -257,8 +257,6 @@ DEPENDENCIES jquery-rails kaminari! listen (~> 3.0.5) - pg - mysql2 (>= 0.3.18, < 0.5) prawn prawn-table puma (~> 3.0) From 7eaea8f08d3299c058cc6df70323415a0736fd5d Mon Sep 17 00:00:00 2001 From: Min Zeya Phyo Date: Mon, 12 Jun 2017 07:40:40 +0630 Subject: [PATCH 3/3] fixed jsonb to json to support both mysql and postgres --- db/migrate/20170611084537_create_membership_actions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20170611084537_create_membership_actions.rb b/db/migrate/20170611084537_create_membership_actions.rb index 74695871..c980ceac 100644 --- a/db/migrate/20170611084537_create_membership_actions.rb +++ b/db/migrate/20170611084537_create_membership_actions.rb @@ -8,7 +8,7 @@ class CreateMembershipActions < ActiveRecord::Migration[5.1] t.string :auth_token t.string :merchant_account_id t.string :created_by - t.jsonb :additional_parameter + t.json :additional_parameter t.timestamps end