1 package # hide from PAUSE
2 RestrictByUserTest::Schema::Notes;
4 use base 'DBIx::Class';
6 __PACKAGE__->load_components('Core');
7 __PACKAGE__->table('notes_test');
8 __PACKAGE__->add_columns(
12 is_auto_increment => 1,
18 data_type => 'varchar',
23 __PACKAGE__->set_primary_key('id');
24 __PACKAGE__->belongs_to("user", "Users", { id => "user_id" });