-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Immediate Changes
These need to be implemented by the time kwil-db v0.10 reaches final release.
-
Move Firebird to be the first item in the nav bar list
-
On the database tab, if a user is not connected to an instance, prompt them to deploy one in firebird.
-
On firebird deployment page, change
Kwil Versionto 0.10.0 -
Change
Kwil CLIsample code to:-
- Install instructions:
kwil-cli version
-
- Connect to provider:
kwil-cli utils ping
-
- Interact with Database. Use an Ethereum Private Key at
<your-private-key>.
- Interact with Database. Use an Ethereum Private Key at
- Create a table:
kwil-cli database execute -s "CREATE TABLE users (id uuid primary key, name text notnull);" \n --provider=<provider-address> \n --chain-id=<chain-id> \n --private-key=<your-private-key>
- Insert data:
kwil-cli database execute -s "INSERT INTO users (id, name) VALUES (<generate-uuid>, 'Bob');" \n --provider=<provider-address> \n --chain-id=<chain-id> \n --private-key=<your-private-key>
NOTE: The DB admin should auto-generate a uuid at <generate-uuid> -
-
Change
JavaScriptsample code to match behavior in kwil cli. -
When clicking
Connect to Providerchange the two options to:- Execute SQL (link to IDE page)
- View Data (link to Databases page)
-
On IDE page, change each file to be a .sql file, and apply SQL validation logic (if simple, if not, SQL validation can be a future item).
-
On the databases page, show all schemas, including schemas that start with
_kwild(@brennanjl - can you give your opinion on this? should all schemas be visible through the db admin?) -
Update how the schema information is retrieved (e.g., actions, schemas, tables, etc.). See this document for reference: https://docs.google.com/document/d/1NfOicqc4WE5SEVNzxYkFrGwj6qn_Cid1GKe7C2kFxec/edit?usp=drive_link
-
Remove
Other Database -
Change
Pinned DatabasesandMy DatabasestoPinned SchemasandMy Schemas
Future Changes
These can be implemented after the release.
- Add a terminal-like interface/modal to the
databasespage that allows people to execute ad-hoc SQL. This interface should be able to expand and contract. - Add a similar terminal-like interface to the deployments page on the firebird section, allowing users to execute queries immediately after they deploy (decrease the amount of navigation the user needs to do to start using the DB)

