Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Propel Migration -- how to test?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tac Tacelosky  
View profile  
 More options Oct 10 2012, 7:00 am
From: Tac Tacelosky <tac...@gmail.com>
Date: Wed, 10 Oct 2012 07:00:16 -0400
Local: Wed, Oct 10 2012 7:00 am
Subject: Re: [propel] Propel Migration -- how to test?
No solution.  I keep thinking that when Propel2 is closer to release I
can test it and there and maybe get it into the test suite.  There are
also issues with PostGRES fields / tables not being quoted.

We love PostGRES, and in the recently-released 9.2, it now supposed
native JSON fields.  I'm hoping that Propel2 will allow developers to
define their own mappings, so that things like array, json, xml,
lat/long and geometry can be mapped into the ORM.  I don't know if
that's really the case though.  William? Francois?

Tac

On Tue, Oct 9, 2012 at 6:56 PM, RayOnAir <rayrigamo...@gmail.com> wrote:
> Hello Tac,

> I'm having the same problem as yours, it seems. After runing:
> app/console propel:migration:generate-diff
> I just get: "Reading databases structure..."

> And no migration class is generated. Using --verbose does not add any
> details.
> I'm using Symfony2, PropelBundle and PostgreSQL. Is this issue connection
> related? Were you able to find a solution?

> Best Regards,

> Ray

> On Monday, January 9, 2012 5:18:35 PM UTC-4:30, Tac Tacelosky wrote:

>> The problem is that I have multiple database connections in my config.yml,
>> and I don't think PropelBundle (or maybe it's PropelBridge) handles that.

>> I tried to wander my way through the Phing code and config file
>> generation, but couldn't isolate the problem.  But definitely there's some
>> issue related to the way Symfony and Propel talk to each other.

>> There's a similar issue when trying to generate the sql and model files,
>> the --connection parameter is ignored.  I have a legacy MySQL database with
>> a read-only connection, a read/write MySQL connection for my application,
>> and a sqlite connection for a city/zip code file.  I can't build or
>> insert-sql using --connection, all the models / sql is built/inserted
>> regardless of the parameter.

>> Any pointers on where to look to fix this?

>> Thx,

>> Tac

>> On Mon, Jan 9, 2012 at 4:14 PM, Francois Zaninotto <fzani...@gmail.com>
>> wrote:

>>> Hi Tac,

>>> diff should give you more output with --verbose. Is there nothing more
>>> than what you pasted? Then it must be a connection problem. Not sure how
>>> PropelBundle handles that.

>>> Cheers,

>>> François

>>> 2012/1/4 Tac Tacelosky <tac...@gmail.com>

>>>> I'm not able to get the migration commands to work in my Symfony
>>>> installation, and am wondering how to debug them.  I'm following along at

>>>> http://www.propelorm.org/cookbook/symfony2/working-with-symfony2.html

>>>> but not getting meaningful output:

>>>> $ php app/console propel:migration:generate-diff
>>>> Reading databases structure...

>>>> $ php app/console propel:migration:migrate

>>>> I've tried --verbose and  --force, but those fail, it doesn't seem to
>>>> even be writing any sql alter table statements, so I'm probably doing
>>>> something wrong in the setup.  Any ideas where to look.

>>>> On a related note, William suggested I fork and fix.  Most of Propel is
>>>> probably out of my reach for contributing right now, but adding --verbose to
>>>> the command and getting more debug info seems within my grasp.  But I'm new
>>>> to contributing code fixes via github, and in particular keeping the
>>>> versions in sync should I do that.  Is there a "Guide to Propel Code
>>>> Contributions" somewhere?

>>>> Thx,

>>>> Tac

>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Propel Users" group.
>>>> To post to this group, send email to propel...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> propel-users...@googlegroups.com.

>>>> For more options, visit this group at
>>>> http://groups.google.com/group/propel-users?hl=en.

>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Propel Users" group.
>>> To post to this group, send email to propel...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> propel-users...@googlegroups.com.

>>> For more options, visit this group at
>>> http://groups.google.com/group/propel-users?hl=en.

> --
> You received this message because you are subscribed to the Google Groups
> "Propel Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/propel-users/-/aOtwDja1sl4J.

> To post to this group, send email to propel-users@googlegroups.com.
> To unsubscribe from this group, send email to
> propel-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/propel-users?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.