Fixes unit tests. active_record_helper.php line 71 & 79 failed with SQLite.
[akelos.git] / test / fixtures / app / installers / protected_person_installer.php
blob11e8ce022cf5e8bb297f0fe2cbaa0376a68a219f
1 <?php
3 class ProtectedPersonInstaller extends AkInstaller
5 function up_1()
7 $this->createTable('protected_people','
8 id,
9 name string(32) not null,
10 birthday datetime,
11 is_active boolean not null default 1,
12 credit_points int default 1000,
13 created_by int default null,
14 created_at,
15 updated_at
16 ');
19 function down_1()
21 $this->dropTable('protected_people', array('sequence'=>true));