This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Render data from database

Requests for new symfony features.

Render data from database

by vovikdrg » Tue Dec 29, 2009 3:48 pm

hello
i have one more question by build:schema we just build schema
and then we can manually create data file.

maybe its possible to generate data schema from database?

thanks
vovikdrg
Member
 
Posts: 37
Joined: Thu Dec 24, 2009 11:10 pm
Location: Ukraine

Re: Render data from database

by halfer » Wed Dec 30, 2009 12:21 pm

By "data schema", I think you mean fixture. I don't believe there is an existing ability to do that, for either ORM, but it would be an interesting addition.

Incidentally for future posts, please state which version of symfony you are using, and which ORM - we will only have to ask otherwise.
halfer
Faithful Member
 
Posts: 10148
Joined: Mon Jan 30, 2006 1:16 pm
Location: West Midlands, UK

Re: Render data from database

by vovikdrg » Wed Dec 30, 2009 2:04 pm

oke sorry
i am using symfony 1.4, and doctrine

yes i mean fixture.
so i expect some thing like that

symfony doctrine:build-schema --with-data

:)so in fixture we will have schema.yml and data.yml :)~ :-)~ :smile:
vovikdrg
Member
 
Posts: 37
Joined: Thu Dec 24, 2009 11:10 pm
Location: Ukraine

Re: Render data from database

by lightpriest » Thu Dec 31, 2009 5:51 pm

What about doctrine:data-dump after creating the schema.yml?
lightpriest
Junior Member
 
Posts: 6
Joined: Mon Jan 26, 2009 10:48 am

Re: Render data from database

by vovikdrg » Sat Jan 02, 2010 5:48 pm

hmm i tried it but it tell me that i have no some columns.
so where it read schema?

thanks
vovikdrg
Member
 
Posts: 37
Joined: Thu Dec 24, 2009 11:10 pm
Location: Ukraine