acro5piano / kysely-migration-cli

A thin library to create a migration script using Kysely
https://www.npmjs.com/package/kysely-migration-cli
MIT License
65 stars 3 forks source link

[suggestion] moving repo to kysely-org #23

Closed marcosrjjunior closed 2 weeks ago

marcosrjjunior commented 4 months ago

hey @acro5piano

we were discussing on kysely channel, the possibility of moving this repo to the organisation and so we could start a kysely-cli, that could potentially be extended/improved to include other scripts. Having a repo inside the organisation has many benefits, including more support and trust.

initially we would have the migration script and run something like:

kysely migration up | down | ...

channel discussion

would you be interested on this migration?

acro5piano commented 4 months ago

Hi @marcosrjjunior, thank you for your suggestion! I've read the related chat on Discord and I'm glad to hear that this repository is somewhat useful to Kysely community.

I'm truly positive to move this repository under the official org. Here are some thoughts though:

This is because Kysely's migrations are also written in TypeScript. To run the migrations, you need to first build the TypeScript code into JavaScript. A CLI would cause confusion over which migrations are being run, the TypeScript ones or the JavaScript ones

I'm not sure whether we should provide the command interface or not. However, as you might know this library has experimental support of the command interface, so if Kysely team suggests it I'm totally agree to it.