Skip to content

Instantly share code, notes, and snippets.

@logie17
Created August 1, 2012 21:57
Show Gist options
  • Save logie17/3231090 to your computer and use it in GitHub Desktop.
Save logie17/3231090 to your computer and use it in GitHub Desktop.
package Shutterstock::Si::Schema::Result::Message;
use Shutterstock::Si::Schema::Candy;
primary_column id => { data_type => 'int', is_auto_increment => 1, extra => { unsigned => 1 } };
column message => { data_type => 'text' };
column created => { data_type => 'datetime', set_on_create => 1, };
#belongs_to ( channel => 'Shutterstock::Si::Schema::Result::Channel', 'channel_id' );
#belongs_to ( nick => 'Shutterstock::Si::Schema::Result::Nick', 'nick_id' );
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment