NAME
Mango::Schema::Wishlist - DBIC schema class for wishlists
SYNOPSIS
use
Mango::Schema;
my
$schema
= Mango::Schema->
connect
;
my
$carts
=
$schema
->resultset(
'Wishlists'
)->search;
DESCRIPTION
Mango::Schema::Wishlist is loaded by Mango::Schema to read/write wishlist data.
COLUMNS
id
Contains the primary key for each wishlist record.
id
=> {
data_type
=>
'INT'
,
is_auto_increment
=> 1,
is_nullable
=> 0,
extras
=> {
unsigned
=> 1}
},
user_id
Contains the foreign key to the user this wishlist belongs to.
user_id
=> {
data_type
=>
'INT'
,
is_nullable
=> 1,
is_foreign_key
=> 1,
default_value
=>
undef
,
extras
=> {
unsigned
=> 1}
},
name
The name of the wishlist.
name
=> {
data_type
=>
'VARCHAR'
,
size
=> 50,
is_nullable
=> 0
},
description
The description of the wishlist.
description
=> {
data_type
=>
'VARCHAR'
,
size
=> 255,
is_nullable
=> 1,
default_value
=>
undef
},
created
When the wishlist record was created.
created
=> {
data_type
=>
'DATETIME'
,
is_nullable
=> 0
},
updated
When the wishlist record was updated.
updated
=> {
data_type
=>
'DATETIME'
,
is_nullable
=> 0
}