Adding migration for project request

master
Nathan Adams 2013-07-30 19:45:33 -05:00
parent d4994854c9
commit f62d20f0d1
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<?php
function IDF_Migrations_27ProjectRequest_up($params=null)
{
$db = Pluf::db();
$schema = new Pluf_DB_Schema($db);
$schema->model = new IDF_ProjectRequest();
$schema->createTables();
}
function IDF_Migrations_27ProjectRequest_down($params=null)
{
$db = Pluf::db();
$schema = new Pluf_DB_Schema($db);
$schema->model = new IDF_ProjectRequest();
$schema->dropTables();
}