Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

billy1624
Copy link
Member

PR Info

cargo r -- generate entity -h

  • Before:
    $ cargo r -- generate entity -h
    Compiling sea-orm-cli v1.2.0-rc.1
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.38s
        Running `target\debug\sea-orm-cli generate entity -h`
    Generate entity
    
    Usage: sea-orm-cli generate entity [OPTIONS] --database-url <DATABASE_URL>
    
    Options:
    ...
    -u, --database-url <DATABASE_URL>
            Database URL [env: DATABASE_URL=mysql://root:root@localhost]
    ...
    
  • After:
    $ cargo r -- generate entity -h
    Compiling sea-orm-cli v1.2.0-rc.1
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.95s
        Running `target\debug\sea-orm-cli generate entity -h`
    Generate entity
    
    Usage: sea-orm-cli generate entity [OPTIONS] --database-url <DATABASE_URL>
    
    Options:
    ...
    -u, --database-url <DATABASE_URL>
            Database URL [env: DATABASE_URL]
    ...
    

cargo r -- migrate -h

  • Before:
    $ cargo r -- migrate -h
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s
        Running `target\debug\sea-orm-cli migrate -h`
    Migration related commands
    
    Usage: sea-orm-cli migrate [OPTIONS] [COMMAND]
    
    Options:
    ...
    -u, --database-url <DATABASE_URL>
            Database URL [env: DATABASE_URL=mysql://root:root@localhost]
    ...
    
  • After:
    $ cargo r -- migrate -h
    Compiling sea-orm-cli v1.2.0-rc.1
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.20s
        Running `target\debug\sea-orm-cli migrate -h`
    Migration related commands
    
    Usage: sea-orm-cli migrate [OPTIONS] [COMMAND]
    
    Options:
    ...
    -u, --database-url <DATABASE_URL>
            Database URL [env: DATABASE_URL]
    ...
    

cargo r -- migrate

  • Before:
    $ cargo r -- migrate
    Compiling sea-orm-cli v1.2.0-rc.1
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.02s
        Running `target\debug\sea-orm-cli migrate`
    Running `cargo run --manifest-path ./migration/Cargo.toml -- up -u mysql://root:root@localhost`
    
  • After:
    $ cargo r -- migrate
    Compiling sea-orm-cli v1.2.0-rc.1
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.04s
        Running `target\debug\sea-orm-cli migrate`
    Running `cargo run --manifest-path ./migration/Cargo.toml -- up`
    

@billy1624 billy1624 marked this pull request as ready for review July 10, 2025 12:20
@tyt2y3 tyt2y3 changed the base branch from master to 1.1.x July 17, 2025 20:35
@tyt2y3 tyt2y3 changed the base branch from 1.1.x to master July 17, 2025 20:36
Copy link
Member

@tyt2y3 tyt2y3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@tyt2y3 tyt2y3 merged commit d64c930 into master Jul 17, 2025
20 of 36 checks passed
@tyt2y3 tyt2y3 deleted the cli-mask-sensitive-env branch July 17, 2025 20:37
tyt2y3 pushed a commit that referenced this pull request Jul 21, 2025
* CLI: mask sensitive ENV values

* rustfmt
@github-actions
Copy link

🎉 Released In 1.1.14 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

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

Successfully merging this pull request may close these issues.

2 participants