Skip to content

πŸš€ v0.1.0 - Initial Release

Choose a tag to compare

@Grandbusta Grandbusta released this 24 Jan 13:41
· 26 commits to main since this release

The first public release of Jone, a Knex-inspired database migration tool for Go.

Features

  • Schema Builder β€” Fluent API for creating and modifying tables

    • Column types: String, Int, BigInt, Boolean, UUID, Timestamp, JSON, Decimal, and more
    • Modifiers: NotNullable(), Unique(), Default(), Primary()
    • Indexes and foreign keys
  • CLI Commands

    • jone init β€” Initialize project
    • jone migrate:make β€” Create new migration
    • jone migrate:latest β€” Run all pending migrations
    • jone migrate:up/down β€” Run/rollback single migration
    • jone migrate:rollback β€” Rollback last batch
    • jone migrate:list β€” View migration status
    • jone version β€” Display version (-v flag)
  • Additional Features

    • --dry-run flag to preview SQL without executing
    • s.Raw() for custom SQL statements
    • Colored CLI output
    • Transaction-wrapped migrations with batch tracking

Supported Databases

  • βœ… PostgreSQL

Installation

go install github.com/Grandbusta/jone/cmd/jone@v0.1.0
go get github.com/Grandbusta/jone