From b574c7209e6c2efbda92b4b170e59fdaed168f99 Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Fri, 21 Sep 2007 20:35:09 +0000 Subject: [PATCH] Clean up. --- playground/index.php | 7 +------ tests/schema.yml | 5 ++++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/playground/index.php b/playground/index.php index 9081042c1..764990286 100644 --- a/playground/index.php +++ b/playground/index.php @@ -2,9 +2,4 @@ require_once('playground.php'); require_once('connection.php'); require_once('models.php'); -require_once('data.php'); - -$tables['Test'] = 'Test'; - -$import = new Doctrine_Import_Schema(); -$import->importSchema('../tests/schema.yml', 'yml', 'test_models', $tables); \ No newline at end of file +require_once('data.php'); \ No newline at end of file diff --git a/tests/schema.yml b/tests/schema.yml index 90b1ef523..da8da36c2 100644 --- a/tests/schema.yml +++ b/tests/schema.yml @@ -1,6 +1,9 @@ --- Test: - inheritance: { extends: User, keyField: otype, keyValue: 1 } + inheritance: + extends: User + keyField: otype + keyValue: 1 Account: tableName: account className: Account