Now subscription complete.

master
Kaitlyn Parkhurst 3 years ago
parent ec2bbe3c66
commit 49c6d2e68a
  1. 2
      DB/etc/schema.sql
  2. 19
      DB/lib/MJB/DB/Result/Person.pm

@ -4,8 +4,6 @@ CREATE TABLE person (
id serial PRIMARY KEY,
name text not null,
email citext not null unique,
stripe_customer_id text ,
is_subscribed boolean not null default false,
is_enabled boolean not null default true,
is_admin boolean not null default false,
created_at timestamptz not null default current_timestamp

@ -54,17 +54,6 @@ __PACKAGE__->table("person");
data_type: 'citext'
is_nullable: 0
=head2 stripe_customer_id
data_type: 'text'
is_nullable: 1
=head2 is_subscribed
data_type: 'boolean'
default_value: false
is_nullable: 0
=head2 is_enabled
data_type: 'boolean'
@ -97,10 +86,6 @@ __PACKAGE__->add_columns(
{ data_type => "text", is_nullable => 0 },
"email",
{ data_type => "citext", is_nullable => 0 },
"stripe_customer_id",
{ data_type => "text", is_nullable => 1 },
"is_subscribed",
{ data_type => "boolean", default_value => \"false", is_nullable => 0 },
"is_enabled",
{ data_type => "boolean", default_value => \"true", is_nullable => 0 },
"is_admin",
@ -292,8 +277,8 @@ __PACKAGE__->might_have(
);
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2022-12-05 17:03:53
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3HftwG4z/Uy9wCkoSBRk2Q
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2022-12-06 02:58:01
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:449e67soava5G8BvwHe/Cg
sub as_hashref {
my ( $self ) = @_;

Loading…
Cancel
Save