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
A new SQLAlchemy migration toolkit - miruku 0.1a3 has been released
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Olli Wang  
View profile  
 More options Jul 2 2008, 9:02 pm
From: Olli Wang <olliw...@gmail.com>
Date: Wed, 2 Jul 2008 18:02:35 -0700 (PDT)
Local: Wed, Jul 2 2008 9:02 pm
Subject: A new SQLAlchemy migration toolkit - miruku 0.1a3 has been released
Hi, I've just created a new migration toolkit - miruku. The goal of
miruku project is to do the migration work automatically by just one
simple command. There is no need to write upgrade script manually and
there is no version control mechanism. All you have to do is just keep
modifying your model schema code and miruku will do all the upgrading
things for you.

Now you can download and find simple tutorial at http://trac.ollix.org/miruku/


 
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.
Shannon -jj Behrens  
View profile  
 More options Jul 3 2008, 9:42 pm
From: "Shannon -jj Behrens" <jji...@gmail.com>
Date: Thu, 3 Jul 2008 18:42:43 -0700
Local: Thurs, Jul 3 2008 9:42 pm
Subject: Re: A new SQLAlchemy migration toolkit - miruku 0.1a3 has been released

On Wed, Jul 2, 2008 at 6:02 PM, Olli Wang <olliw...@gmail.com> wrote:
> Hi, I've just created a new migration toolkit - miruku. The goal of
> miruku project is to do the migration work automatically by just one
> simple command. There is no need to write upgrade script manually and
> there is no version control mechanism. All you have to do is just keep
> modifying your model schema code and miruku will do all the upgrading
> things for you.

> Now you can download and find simple tutorial at http://trac.ollix.org/miruku/

How is it possible to not require an upgrade script?  What happens if
I'm changing an email field into two fields, one for the username and
one for the server?

-jj

--
It's a walled garden, but the flowers sure are lovely!
http://jjinux.blogspot.com/


 
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.
Olli Wang  
View profile  
 More options Jul 3 2008, 9:59 pm
From: Olli Wang <olliw...@gmail.com>
Date: Thu, 3 Jul 2008 18:59:25 -0700 (PDT)
Local: Thurs, Jul 3 2008 9:59 pm
Subject: Re: A new SQLAlchemy migration toolkit - miruku 0.1a3 has been released
On Jul 4, 9:42 am, "Shannon -jj Behrens" <jji...@gmail.com> wrote:

> How is it possible to not require an upgrade script?  What happens if
> I'm changing an email field into two fields, one for the username and
> one for the server?

> -jj

> --
> It's a walled garden, but the flowers sure are lovely!http://jjinux.blogspot.com/

What miruku does is finding the difference between original schema and
modified schema,  then upgrade the original schema to the modified
schema (add/drop columns/tables, etc).
In your question, it seems you just need to add a new email column
which may be located in the same or different table. It doesn't
matter, just change the model schema code by add a new email column
and run miruku upgrade command. Then you will have two email field.
However, currently miruku only support add/drop tables/columns/index.
So there is no way to copy the email value to the new field
automatically. But I think it's a good idea to work it our in the
future. :)

Regards,
Olli


 
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.
Shannon -jj Behrens  
View profile  
 More options Jul 7 2008, 8:29 pm
From: "Shannon -jj Behrens" <jji...@gmail.com>
Date: Mon, 7 Jul 2008 17:29:18 -0700
Local: Mon, Jul 7 2008 8:29 pm
Subject: Re: A new SQLAlchemy migration toolkit - miruku 0.1a3 has been released

I think it's an 80/20 thing.  You got 80% of what everyone needs by
writing 20% of the code, and, as usual, I'm obsessed with the
remaining 20% ;)

Happy Hacking!
-jj

--
It's a walled garden, but the flowers sure are lovely!
http://jjinux.blogspot.com/


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »