[FLOW3-general] How to create tables ?

Regine Rosewich regine.rosewich at hoellenberg.biz
Mon Mar 21 10:05:27 CET 2011


Hi list(eners),

I can acknowledge what Sebastian wrote. With an absolute 'virgin' system
consisting of FLOW3, Blog-Example, Party ... and an empty MySql-Database,
everything is done by FLOW3 during the first compile. The tables are
generated by the Doctrine2 Persistence and so on. My other test-installation
was not 'virgin'. It still had the 'old-fashion' database and obviously some
other debris of the the pre-Doctrine2 Blog-Example. There I always get an
error saying that the 'blog-Table' is missing in the database.

Greetings from the spring in southern Germany.

Regine

-----Ursprüngliche Nachricht-----
Von: flow3-general-bounces at lists.typo3.org
[mailto:flow3-general-bounces at lists.typo3.org] Im Auftrag von Dawid
Pacholczyk
Gesendet: Montag, 21. März 2011 09:12
An: flow3-general at lists.typo3.org
Betreff: Re: [FLOW3-general] How to create tables ?

W dniu 2011-03-21 06:16, Sebastian Kurfürst pisze:
> Hey,
>
> if you want to use Doctrine from current Master, use the following
Settings:
>
> FLOW3:
>    persistence:
>      backendOptions:
>        driver: 'pdo_mysql'
>        dbname: 'v5_blog' # fill in
>        user: 'root' # fill in
>        password: 'root' # fill in
>        host: '127.0.0.1' # fill in
>        port: 3306 # can be skipped in some cases
>
> Then doctrine creates all DB tables for the models.
>
> Greets,
> Sebastian

Thanks for the answer.

What I need to invoke to tell Doctrine to create tables ? Cause 
kickstart creates just a file, than I need to create fields etc. Where 
is the magick ? :)
_______________________________________________
FLOW3-general mailing list
FLOW3-general at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general




More information about the FLOW3-general mailing list