Skip to content

Database commands#4

Merged
PenguinBoi12 merged 5 commits intomainfrom
database-commands
Mar 8, 2025
Merged

Database commands#4
PenguinBoi12 merged 5 commits intomainfrom
database-commands

Conversation

@PenguinBoi12
Copy link
Copy Markdown
Contributor

This PR add the basic commands to handle database operations. Along the new commands, some major refactoring of cli.py have been done to more properly handle commands requiring the application and those who doesn't.

Command added :

  • grace db create : Create the database and tables
  • grace db drop : Drop the tables and database.
  • grace db seed : Seed the database

All of those operation can take an optional --environment to perform them on different environment. (Ex. grace db drop --environment development

@PenguinBoi12 PenguinBoi12 added the enhancement New feature or request label Feb 28, 2025
@PenguinBoi12 PenguinBoi12 self-assigned this Feb 28, 2025
@PenguinBoi12 PenguinBoi12 merged commit 9def33d into main Mar 8, 2025
@PenguinBoi12 PenguinBoi12 deleted the database-commands branch March 8, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant