Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Creating a database #232

Closed
Andrew15-5 opened this issue Aug 19, 2024 · 0 comments · Fixed by #245
Closed

[FEATURE] Creating a database #232

Andrew15-5 opened this issue Aug 19, 2024 · 0 comments · Fixed by #245
Labels
kind/enhancement New feature or request

Comments

@Andrew15-5
Copy link

Is your feature request related to a problem? Please describe.

When using psql I can just connect to the REPL and create or show a database catalog. Then I can just directly connect to the desired database and then work with it from there. With dblab I can't do that, which hits hard on the initial db development stage or when you're just learning or messing around with DBMS.

Describe the solution you'd like

Make "Database" field optional and on the next screen you can (select an existing database or) create a new one. This will be hard to make right, but ideally there should be fields for database name, list of database columns' name and file type. In addition, there could be toggles for each column (null, unique, etc.)

But for the first iteration, just a single prompt with an SQL query that will be sent as-is is good enough.

Describe alternatives you've considered

Going back to psql?

Additional context

Perhaps the UI or just the toggles will change depending on the DBMS.

@Andrew15-5 Andrew15-5 added the kind/enhancement New feature or request label Aug 19, 2024
@danvergara danvergara mentioned this issue Nov 16, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant