Releases: kysely-org/kysely-ctl
Releases · kysely-org/kysely-ctl
v0.4.0 - kysely init
Hey 👋
new stuff:
kysely init [--cwd] [--debug] [--extension=ts|mts|cts] [--no-outdated-check] [-x=ts|mts|cts]
that's it. that's the release.
Full Changelog: v0.3.0...v0.4.0
v0.3.0 - kysely migrate up|down|latest|rollback --all
Hey 👋
new stuff:
kysely migrate:up [<migration_name>] [--cwd] [--debug] [--environment] [--no-outdated-check]
kysely migrate up [<migration_name>] [--cwd] [--debug] [--environment] [--no-outdated-check]
kysely migrate:down [<migration_name>] [--cwd] [--debug] [--environment] [--no-outdated-check]
kysely migrate down [<migration_name>] [--cwd] [--debug] [--environment] [--no-outdated-check]
kysely migrate:latest [--cwd] [--debug] [--environment] [--no-outdated-check]
kysely migrate latest [--cwd] [--debug] [--environment] [--no-outdated-check]
kysely migrate:rollback --all [--cwd] [--debug] [--environment] [--no-outdated-check]
kysely migrate rollback --all [--cwd] [--debug] [--environment] [--no-outdated-check]
changes:
-kysely migrate:make <migration_name> [--debug] [--extension=ts|mts|cts] [-x=ts|mts|cts]
-kysely migrate make <migration_name> [--debug] [--extension=ts|mts|cts] [-x=ts|mts|cts]
+kysely migrate:make <migration_name> [--cwd] [--debug] [--environment] [--extension=ts|mts|cts] [--no-outdated-check] [-x=ts|mts|cts]
+kysely migrate make <migration_name> [--cwd] [--debug] [--environment] [--extension=ts|mts|cts] [--no-outdated-check] [-x=ts|mts|cts]
-kysely migrate:list [--debug]
-kysely migrate list [--debug]
+kysely migrate:list [--cwd] [--debug] [--environment] [--no-outdated-check]
+kysely migrate list [--cwd] [--debug] [--environment] [--no-outdated-check]
that's it. that's the release.
Full Changelog: v0.2.0...v0.3.0
v0.2.0 - kysely migrate list
Hey 👋
kysely migrate list [--debug]
is working.
kysely migrate:list [--debug]
is working.
it requires a kysely.config.ts
file (in project root OR .config
folder):
import { defineConfig } from 'kysely-ctl'
import database from 'better-sqlite3'
export default defineConfig({
dialect: new SqliteDialect({
database: database(":memory:"),
}),
})
that's it. that's the release.
Full Changelog: v0.1.2...v0.2.0
v0.1.2 - kysely migrate make
Hey 👋
kysely migrate make <migration_name> [--extension=ts|mts|cts] [-x=ts|mts|cts] [--debug]
is working.
kysely migrate:make <migration_name> [--extension=ts|mts|cts] [-x=ts|mts|cts] [--debug]
is working.
that's it. that's the release.
Full Changelog: v0.1.1...v0.1.2