-__PACKAGE__->meta->setup(
- table => 'user_config',
- schema => 'auth',
-
- columns => [
- user_id => { type => 'integer', not_null => 1 },
- cfg_key => { type => 'text', not_null => 1 },
- cfg_value => { type => 'text' },
- ],
-
- primary_key_columns => [ 'user_id', 'cfg_key' ],
-
- foreign_keys => [
- user => {
- class => 'SL::DB::AuthUser',
- key_columns => { user_id => 'id' },
- },
- ],
+__PACKAGE__->meta->table('user_config');
+__PACKAGE__->meta->schema('auth');
+
+__PACKAGE__->meta->columns(
+ user_id => { type => 'integer', not_null => 1 },
+ cfg_key => { type => 'text', not_null => 1 },
+ cfg_value => { type => 'text' },