Interchange6::Schema::Result::User
users
data_type: 'integer' is_auto_increment: 1 is_nullable: 0 sequence: 'users_users_id_seq'
data_type: 'varchar' is_nullable: 0 size: 255
The username is automatically converted to lowercase so we make sure that the unique constraint on username works.
data_type: 'varchar' is_nullable: 1 size: 255
data_type: 'varchar' default_value: (empty string) is_nullable: 0 size: 255
data_type: 'varchar' default_value: (empty string) is_nullable: 0 size: 60 encode_column: 1 encode_class: 'Crypt::Eksblowfish::Bcrypt' encode_args: { key_nul => 1, cost => 14 } encode_check_method: 'check_password'
data_type: 'datetime' is_nullable: 1
data_type: 'integer' is_nullable: 0 default_value: 0
data_type: 'datetime' set_on_create: 1 is_nullable: 0
data_type: 'datetime' set_on_create: 1 set_on_update: 1 is_nullable: 0
data_type: 'boolean' default_value: 1 is_nullable: 0
"users_id"
users_username
"username"
users_nickname
"nickname"
Type: has_many
Related object: Interchange6::Schema::Result::Address
Related object: Interchange6::Schema::Result::Cart
Related object: Interchange6::Schema::Result::Order
Related object: Interchange6::Schema::Result::UserAttribute
Related object: Interchange6::Schema::Result::UserRole
Type: many_to_many
Composing rels: "user_roles" -> role
Related object: Interchange6::Schema::Result::Message FK approved_by
approved_by
Related object: Interchange6::Schema::Result::Message FK author
author
Attribute methods are provided by the Interchange6::Schema::Base::Attribute class.
Overloaded method. Die if username is undef, empty string or not lowercase.
Overloaded method. Throw exception if username is undef, empty string or not lowercase.
Returns resultset of messages that are blog posts (Message->type eq 'blog_post')
Returns resultset of messages that are reviews (referenced by ProductReview class).
To install Interchange6::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Interchange6::Schema
CPAN shell
perl -MCPAN -e shell install Interchange6::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.