[ 
https://issues.apache.org/jira/browse/OFBIZ-4779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245057#comment-13245057
 ] 

Jacques Le Roux commented on OFBIZ-4779:
----------------------------------------

I agree with Jacopo, I prefer to rely on pgAgmin or such tools and do it by 
hand, it's not often and that hard you want to drop a DB and not that long to 
populate. And like Pierre said the tables/key/indexes phases creation are not 
the longer steps, loading data is longer.

Also since the DB is still (slowly now) evolving, it would require to maintain 
the script when we try to slim down and delegate as much as possible...
                
> Add an ant task/code/script for dropping all datas from the database
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-4779
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4779
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: WXP SP3 Sun JDK 1.6.0_30 Postgres 9.1
>            Reporter: Francis ANDRE
>
> Hi
> It would be nice to have an ant task or a script for cleaning/removing all 
> datas in the databases so that one can restart reloading the seed, 
> seed-initial and then its own data file.
> When developing a new environment for ofbiz, one has always to fix bugs on 
> the entities values in this datafile until it is properly cleaned up. Thus, 
> avoiding the unnecessary "create tables/key/indexes" phases will shorten the 
> development cycle.
> Rgds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to