Hello,
I have SilverStripe CMS - 2.2.3 running on OS x 1.3.9 with Mamp 1.4.1.
I created HomePage.php in mysite/code/ with:
<?php
/**
* Defines the HomePage page type
*/
class HomePage extends Page {
static $db = array();
static $has_one = array();
}
class HomePage_Controller extends Page_Controller {
}
?>
I run db/build?flush=1 and it updated the db, perfect!!!
Than I created PilderPage.php in mysite/code/ with:
<?php
/**
* Defines the PilderPage page type
*/
class PilderPage extends Page {
static $db = array(
);
static $has_one = array(
);
}
class PilderPage_Controller extends Page_Controller {
}
?>
When I run db/build?flush=1 the db is not updated??? What's wrong?