Adding tests for securing private variable inclussion on templates.
[akelos.git] / test / fixtures / app / installers / property_installer.php
blob65d8c2996d75f882e5b75b447b8de67592de2b1f
1 <?php
3 class PropertyInstaller extends AkInstaller
5 function install()
7 $this->createTable('properties',
9 id integer max=10 auto increment primary,
10 description string(255),
11 details text,
12 landlord_id integer,
13 price integer,
14 location string limit=200',
15 array('timestamp'=>false));
18 function uninstall()
20 $this->dropTable('properties', array('sequence'=>true));
21 $this->dropTable('properties_property_types', array('sequence'=>true));
22 @Ak::file_delete(AK_MODELS_DIR.DS.'property_property_type.php');