public
Description: Wilfire CMS - Plugin for the PHP-Wax Framework
Homepage: http://wildfirecms.com/
Clone URL: git://github.com/phpwax/wildfire.git
wildfire / migrate / FileTableMigrate.php
100755 18 lines (13 sloc) 0.376 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
 
class FileTableMigrate extends WXMigrate {
  
  public function up() {
    $this->create_column("filename", "string");
    $this->create_column("path", "string");
    $this->create_column("type", "string");
    $this->create_column("caption", "text");
    $this->create_table("cms_file");
  }
  
  public function down() {
    $this->drop_table("cms_file");
  }
  
  
}