« blib/lib/auto/share/dist/Cmd-Dwarf/app/lib/App/Controller/Web.pm
↑ Summary
blib/lib/auto/share/dist/Cmd-Dwarf/app/lib/App/DB/Schema/Declare.pm »
| 1 | package App::DB::Schema; | ||
| 2 | use Teng::Schema::Declare; | ||
| 3 | use App::DB::Schema::Declare; | ||
| 4 | |||
| 5 | base_row_class 'App::DB::Row'; | ||
| 6 | |||
| 7 | table { | ||
| 8 | name 'sessions'; | ||
| 9 | pk 'id'; | ||
| 10 | columns ( | ||
| 11 | {name => 'id', type => 1}, | ||
| 12 | {name => 'a_session', type => -3}, | ||
| 13 | {name => 'created_at', type => 11}, | ||
| 14 | ); | ||
| 15 | }; | ||
| 16 | |||
| 17 | 1; |