Adding migration for project request
This commit is contained in:
parent
d4994854c9
commit
f62d20f0d1
17
indefero/src/IDF/Migrations/27ProjectRequest.php
Normal file
17
indefero/src/IDF/Migrations/27ProjectRequest.php
Normal 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();
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user