From ee4ce53a70fa262ef8facea68b457b481f9a41d6 Mon Sep 17 00:00:00 2001 From: Kaitlyn Parkhurst Date: Sun, 6 Nov 2022 11:24:30 -0800 Subject: [PATCH] Add SSL section. --- DB/etc/schema.sql | 1 + DB/lib/MJB/DB/Result/Domain.pm | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/DB/etc/schema.sql b/DB/etc/schema.sql index 90d3c32..5519d1c 100644 --- a/DB/etc/schema.sql +++ b/DB/etc/schema.sql @@ -41,6 +41,7 @@ CREATE TABLE domain ( id serial PRIMARY KEY, person_id int not null references person(id), name citext not null unique, + ssl text default null, created_at timestamptz not null default current_timestamp ); diff --git a/DB/lib/MJB/DB/Result/Domain.pm b/DB/lib/MJB/DB/Result/Domain.pm index 25f0f97..fd85def 100644 --- a/DB/lib/MJB/DB/Result/Domain.pm +++ b/DB/lib/MJB/DB/Result/Domain.pm @@ -55,6 +55,11 @@ __PACKAGE__->table("domain"); data_type: 'citext' is_nullable: 0 +=head2 ssl + + data_type: 'text' + is_nullable: 1 + =head2 created_at data_type: 'timestamp with time zone' @@ -75,6 +80,8 @@ __PACKAGE__->add_columns( { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, "name", { data_type => "citext", is_nullable => 0 }, + "ssl", + { data_type => "text", is_nullable => 1 }, "created_at", { data_type => "timestamp with time zone", @@ -142,8 +149,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-07 05:14:59 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:J/Y4weagD34GOj8npijaUg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-06 19:24:12 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:agNtunaurulCvfqzy39meg # You can replace this text with custom code or comments, and it will be preserved on regeneration