Adding migration for project request

This commit is contained in:
Nathan Adams 2013-07-30 19:45:33 -05:00
parent d4994854c9
commit f62d20f0d1

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();
}