From 0e3229aa0e4df39e59dbb7a676001ce2509353b7 Mon Sep 17 00:00:00 2001 From: Alex Sherman Date: Mon, 13 Jan 2020 14:21:21 +0500 Subject: [PATCH] Add uuid field to log_registrant_verification --- ...200113091254_add_uuid_to_log_registrant_verification.rb | 7 +++++++ db/structure.sql | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 db/migrate/20200113091254_add_uuid_to_log_registrant_verification.rb diff --git a/db/migrate/20200113091254_add_uuid_to_log_registrant_verification.rb b/db/migrate/20200113091254_add_uuid_to_log_registrant_verification.rb new file mode 100644 index 000000000..4e130fc8e --- /dev/null +++ b/db/migrate/20200113091254_add_uuid_to_log_registrant_verification.rb @@ -0,0 +1,7 @@ +class AddUuidToLogRegistrantVerification < ActiveRecord::Migration[5.0] + def change + change_table 'log_registrant_verifications' do |t| + t.string :uuid + end + end +end diff --git a/db/structure.sql b/db/structure.sql index b954cbc95..6246862ea 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -1524,7 +1524,8 @@ CREATE TABLE public.log_registrant_verifications ( object json, object_changes json, created_at timestamp without time zone, - session character varying + session character varying, + uuid character varying ); @@ -4329,8 +4330,10 @@ INSERT INTO "schema_migrations" (version) VALUES ('20191008024334'), ('20191024153351'), ('20191024160038'), +('20191203083643'), ('20191206183853'), ('20191212133136'), -('20191227110904'); +('20191227110904'), +('20200113091254');