CODE
$ ./symfony propel:build-all
>> propel Running "om" phing task
>> autoload reloading autoloading
Phing was run before and used many custom classes that might conflict with
your model classes. In case of errors try running "propel:build-forms" and
"propel:build-filters" alone. This is due to a PHP limitation that cannot be
fixed in symfony.
>> propel generating form classes
>> tokens /var/www/teraz/lib/form/BaseFormPropel.class.php
>> propel generating filter form classes
>> tokens /var/www/teraz/lib/filter/base/BaseFormFilterPropel.class.php
>> propel Running "sql" phing task
This command will remove all data in your database.
Are you sure you want to proceed? (y/N)
y
Notice: Undefined variable: ret in /var/www/teraz/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelInsertSqlTask.class.php on line 130
>> propel Running "om" phing task
>> autoload reloading autoloading
Phing was run before and used many custom classes that might conflict with
your model classes. In case of errors try running "propel:build-forms" and
"propel:build-filters" alone. This is due to a PHP limitation that cannot be
fixed in symfony.
>> propel generating form classes
>> tokens /var/www/teraz/lib/form/BaseFormPropel.class.php
>> propel generating filter form classes
>> tokens /var/www/teraz/lib/filter/base/BaseFormFilterPropel.class.php
>> propel Running "sql" phing task
This command will remove all data in your database.
Are you sure you want to proceed? (y/N)
y
Notice: Undefined variable: ret in /var/www/teraz/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/sfPropelInsertSqlTask.class.php on line 130
mój plik schema.xml
<?xml version="1.0" encoding="UTF-8"?> <database defaultIdMethod="native" name="schema"> <table name="uzytkownicy"> <column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true"/> <column name="login" type="VARCHAR" size="45"/> <column name="haslo" type="VARCHAR" size="255"/> <column name="mail" type="VARCHAR" size="255"/> </table> </database>
w pliku schema.xml
<database defaultIdMethod="native" name="schema">
powinno być w polu name
<database defaultIdMethod="native" name="propel">