[
qw(InflateColumn::DateTime TimeStamp)
];
primary_column
payment_orders_id
=> {
data_type
=>
"integer"
,
is_auto_increment
=> 1,
sequence
=>
"payment_orders_payment_orders_id_seq"
,
};
column
payment_mode
=>
{
data_type
=>
"varchar"
,
default_value
=>
""
,
size
=> 32 };
column
payment_action
=>
{
data_type
=>
"varchar"
,
default_value
=>
""
,
size
=> 32 };
column
payment_id
=>
{
data_type
=>
"varchar"
,
default_value
=>
""
,
size
=> 32 };
column
auth_code
=> {
data_type
=>
"varchar"
,
default_value
=>
""
,
size
=> 255
};
column
users_id
=>
{
data_type
=>
"integer"
,
is_nullable
=> 1 };
column
sessions_id
=> {
data_type
=>
"varchar"
,
is_nullable
=> 1,
size
=> 255
};
column
orders_id
=>
{
data_type
=>
"integer"
,
is_nullable
=> 1 };
column
amount
=> {
data_type
=>
"numeric"
,
default_value
=> 0,
size
=> [ 21, 3 ],
};
column
status
=>
{
data_type
=>
"varchar"
,
default_value
=>
""
,
size
=> 32 };
column
payment_sessions_id
=> {
data_type
=>
"varchar"
,
default_value
=>
""
,
size
=> 255
};
column
payment_error_code
=>
{
data_type
=>
"varchar"
,
default_value
=>
""
,
size
=> 32 };
column
payment_error_message
=> {
data_type
=>
"text"
,
is_nullable
=> 1 };
column
payment_fee
=> {
data_type
=>
"numeric"
,
default_value
=> 0,
size
=> [ 12, 3 ],
};
column
created
=>
{
data_type
=>
"datetime"
,
set_on_create
=> 1 };
column
last_modified
=> {
data_type
=>
"datetime"
,
set_on_create
=> 1,
set_on_update
=> 1,
};
belongs_to
order
=>
"Interchange6::Schema::Result::Order"
,
"orders_id"
,
{
is_deferrable
=> 1,
on_delete
=>
"CASCADE"
,
on_update
=>
"CASCADE"
,
join_type
=>
"left"
};
belongs_to
user
=>
"Interchange6::Schema::Result::User"
,
"users_id"
,
{
is_deferrable
=> 1,
on_delete
=>
"CASCADE"
,
on_update
=>
"CASCADE"
,
join_type
=>
"left"
};
belongs_to
session
=>
"Interchange6::Schema::Result::Session"
,
"sessions_id"
,
{
join_type
=>
'left'
,
on_delete
=>
'SET NULL'
};
1;