diff --git a/DB/etc/schema.sql b/DB/etc/schema.sql index b14c28d..39ac917 100644 --- a/DB/etc/schema.sql +++ b/DB/etc/schema.sql @@ -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 diff --git a/DB/lib/MJB/DB/Result/Person.pm b/DB/lib/MJB/DB/Result/Person.pm index ec2b1b1..8ee316a 100644 --- a/DB/lib/MJB/DB/Result/Person.pm +++ b/DB/lib/MJB/DB/Result/Person.pm @@ -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 ) = @_;