origin1tech / sequelize-cmd

Command line interface for Sequelize migrations.
MIT License
15 stars 1 forks source link

Deprecation? #6

Open kswope opened 9 years ago

kswope commented 9 years ago

I don't understand the mention of sequalize migrations being deprecated. The latest doc:

http://docs.sequelizejs.com/en/latest/docs/migrations/

origin1tech commented 9 years ago

Not yet but it is in the plans to extrapolate it from the core hence why development has ceased on this project. On May 7, 2015 2:45 PM, "Kevin Swope" notifications@github.com wrote:

I don't understand the mention of sequalize migrations being deprecated. The latest doc:

http://docs.sequelizejs.com/en/latest/docs/migrations/

— Reply to this email directly or view it on GitHub https://github.com/origin1tech/sequelize-cmd/issues/6.

kswope commented 9 years ago

sequelizejs seems half-baked. They are promoting in their docs a buggy migration system that they are abandoning. Does not inspire confidence.

origin1tech commented 9 years ago

Which is why I didn't put further effort. There is a module out there that is standalone that is replacing it. Look through some comments in issues I think I posted a link. On May 7, 2015 3:07 PM, "Kevin Swope" notifications@github.com wrote:

sequelizejs seems half-baked. They are promoting in their docs a buggy migration system that they are abandoning. Does not inspire confidence.

— Reply to this email directly or view it on GitHub https://github.com/origin1tech/sequelize-cmd/issues/6#issuecomment-100034591 .

f1nnix commented 9 years ago

AFAIK, umzug is about running migrations, not generating it. Just a tool to get pending migrations, run // revert them, but nothing about smart migrations creation.

We stiil need South-like smart migration generator :)

origin1tech commented 9 years ago

I agree 100% On May 7, 2015 3:21 PM, "Ilya Rusanen" notifications@github.com wrote:

AFAIK, umzug is about running migrations, not generating it. Just a tool to get pending migrations, run // revert them, but nothing about smart migrations creation.

We stiil need South-like smart migration generator :)

— Reply to this email directly or view it on GitHub https://github.com/origin1tech/sequelize-cmd/issues/6#issuecomment-100037022 .

origin1tech commented 9 years ago

I have several commits locally for this project but didn't push because under the circumstances I really didn't want anyone using it and posting issues.

Feels as though what we need is to create a standalone api.

That said part of the reason why I didn't continue is because I felt the changes in sequelize needed to stabilize more. On May 7, 2015 3:21 PM, "Ilya Rusanen" notifications@github.com wrote:

AFAIK, umzug is about running migrations, not generating it. Just a tool to get pending migrations, run // revert them, but nothing about smart migrations creation.

We stiil need South-like smart migration generator :)

— Reply to this email directly or view it on GitHub https://github.com/origin1tech/sequelize-cmd/issues/6#issuecomment-100037022 .

f1nnix commented 9 years ago

Actually, it would be nice if you continue maintaining the project. I've watched your first video on YouTube and it was quite promising.

About current sequelize state. I'm not in the maintainers team, however heavily using it every day, so I'd say most of API is rather stable since 2.x-RC. There are some scope bugs I've noticed, but it's related to advanced usage. The parts we're interested — model definition => schema mappings — hasn't changed for a long time. I do hope we may rely on it safely.

To clarify the subject: umzug is for running migrations, sequelize-cli is for generating template-based initial migrarions by provided fields with types. sequelize-cmd was really nice try to create smart migration system like Django // South has, so, please, don't deprecate it :)

origin1tech commented 9 years ago

O.k well I can't devote time to it right at the moment but I can consider that in the coming weeks.

I do feel strongly that under the circumstances it should be stand alone so that there is some sort of mapping that way if anything changes in sequel eyes the project isn't at risk of breaking. On May 7, 2015 3:40 PM, "Ilya Rusanen" notifications@github.com wrote:

Actually, it would be nice if you continue maintaining the project. I've watched your first video on YouTube and it was quite promising.

About current sequelize state. I'm not in the maintainers team, however heavily using it every day, so I'd say most of API is rather stable since 2.x-RC. There are some scope bugs I've noticed, but it's related to advanced usage. The parts we're interested — model definition => schema mappings — hasn't change for a long time. I do hope we may rely on it safely.

To clarify the subject: umzug is for running migrations, sequelize-cli is for generating template-based initial migrarions by provided fields with types. sequelize-cmd was really nice try to create smart migration system like Django // South has, so, please, don't deprecate it :)

— Reply to this email directly or view it on GitHub https://github.com/origin1tech/sequelize-cmd/issues/6#issuecomment-100039902 .

novacrazy commented 9 years ago

Any news on this project? After a couple hours of googling and comparing stuff, this is the closest thing I could find when it comes to automatic migration tools.

Really what is the point of an ORM that states everything is automatic but when it gets to the point of migrations every single column, table, relationship, dependency and index needs to be explicitly mapped by hand.

origin1tech commented 9 years ago

...and that's why I started down this path @novacrazy. unfortunately I haven't been able to commit any more time to it, that and Sequelize has internally deprecated some things it depends on. additionally recent projects have focused more on MongoDB and Cassandra SQL has been in less demand.

The project I was working on moved to Cassandra and hence why I've not allocated more time to it.

Full disclosure I doubt I'll get to it until a project requires SQL. Lastly what I'd really like to see is a standalone migration tool that works not just with Sequelize but also Mongo and Cassandra. So an orm just for migrations. Even though migrations are not technically needed in a NoSQL environment when working with teams it makes the development path more clear for others in the team who may have not worked on a given area.

To your point also, you're absolutely correct. ORM isn't much good without a migration tool.

If anyone wishes to take over this project I'm all for it. I also have some ideas on how this all could be tackled.

bpmckee commented 9 years ago

Ahh mannnn. The youtube video was so promising, coming here and seeing it's depricated is dissapointing. I get it though, it's hard to find time to work on this kind of stuff. Especially when the core library changed quite a bit.

What you created here is the one thing sequelize was truly missing. Hopefully one day we'll have something that does it all :)

origin1tech commented 9 years ago

Time permitting this will get re-visited. Unfortunately I just don't have the time for the moment.

On Fri, Nov 6, 2015 at 2:12 PM, Billy McKee notifications@github.com wrote:

Ahh mannnn. The youtube video was so promising, coming here and seeing it's depricated is dissapointing. I get it though, it's hard to find time to work on this kind of stuff. Especially when the core library changed quite a bit.

What you created here is the one thing sequelize was truly missing. Hopefully one day we'll have something that does it all :)

— Reply to this email directly or view it on GitHub https://github.com/origin1tech/sequelize-cmd/issues/6#issuecomment-154557978 .

brud commented 7 years ago

it's really REALLY sad :c

origin1tech commented 7 years ago

I wish I had the time. I've tried twice to get to it. If enough demand maybe a crowd source or something IDK but hard for me to justify...apologies.

On Fri, Jun 9, 2017 at 6:05 AM, Anton Iliyn notifications@github.com wrote:

it's really REALLY sad :c

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/origin1tech/sequelize-cmd/issues/6#issuecomment-307383236, or mute the thread https://github.com/notifications/unsubscribe-auth/ABswC22Zzjn0ii1GyOqQQwok6FeEHmWxks5sCUMqgaJpZM4ETAG5 .