Last change
on this file since 100 was
100,
checked in by nanardon, 14 years ago
|
- add web page to view paste from the bot
- add first function
|
File size:
315 bytes
|
Rev | Line | |
---|
[100] | 1 | package Sophie::Base::Result::ChatPaste; |
---|
| 2 | |
---|
| 3 | use strict; |
---|
| 4 | use warnings; |
---|
| 5 | use base qw(DBIx::Class::Core); |
---|
| 6 | |
---|
| 7 | __PACKAGE__->table('chat_paste'); |
---|
| 8 | __PACKAGE__->add_columns(qw/user_id id reply whenpaste title/); |
---|
| 9 | __PACKAGE__->set_primary_key('id'); |
---|
| 10 | __PACKAGE__->belongs_to(Users => 'Sophie::Base::Result::Users', 'user_id'); |
---|
| 11 | |
---|
| 12 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.