Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Descriptions should be seen during migration #25

Open
d4rky-pl opened this issue Jun 26, 2011 · 1 comment
Open

Descriptions should be seen during migration #25

d4rky-pl opened this issue Jun 26, 2011 · 1 comment

Comments

@d4rky-pl
Copy link
Contributor

(Issue #24 is related to this)

Right now descriptions are only for labeling purposes because it's pretty inconvenient to look into classes comment every time you want to see something was done.

I propose:

  1. Showing descriptions of migrations that has been run (let's limit this to, for example 10 at max), e.g.

    20110623142133 - Creating a simple database for accounts
    20110624184914 - Modifying accounts to keep random hash stored in DB
    20110626154632 - Creating new database to keep user credentials for multiple ways of login (openid, facebook connect etc.)

  2. Or / and command db:log working similar to git log, showing N latest migrations (with parameters: --from and --to expecting argument to be migrations' ID)

Considering descriptions are already being kept in database (or not) , it won't need much additional work (I will make necessary changes and send a pull request) and it would benefit working in group (during migrations you would have quick overview of what changed in database).

@samwilson
Copy link
Contributor

Descriptions are now shown when migrations are run. Can this be closed?

The matter of the format of descriptions (#24) still stands, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants