Feedback HTML views added and fixes made
This commit is contained in:
parent
baea01e8b5
commit
09f9cf9d48
6 changed files with 110 additions and 5 deletions
|
@ -7,18 +7,24 @@ use base 'DBIx::Class::Core';
|
|||
|
||||
__PACKAGE__->table("feedback");
|
||||
|
||||
__PACKAGE__->load_components(qw/
|
||||
InflateColumn::DateTime
|
||||
TimeStamp
|
||||
/);
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
"id",
|
||||
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
|
||||
"email" => {
|
||||
data_type => "text",
|
||||
is_nullable => 0,
|
||||
},
|
||||
"user_id" => {
|
||||
data_type => "integer",
|
||||
is_foreign_key => 1,
|
||||
is_nullable => 0,
|
||||
},
|
||||
"submitted_at" => {
|
||||
data_type => "datetime",
|
||||
is_nullable => 0,
|
||||
set_on_create => 1,
|
||||
},
|
||||
"feedbacktext" => {
|
||||
data_type => "text",
|
||||
is_nullable => 0,
|
||||
|
|
Reference in a new issue