Giter Site home page Giter Site logo

SQL Database Design about datatonic HOT 6 CLOSED

tonic-ai avatar tonic-ai commented on September 25, 2024
SQL Database Design

from datatonic.

Comments (6)

h0lybyte avatar h0lybyte commented on September 25, 2024 1

For schema generation and maintenance, I am using a combination of Drizzle and Diesel.

Main schema (drizzle) would be here -> https://github.com/Tonic-AI/kbve/blob/main/apps/api/src/db/schema.ts
Rust schema via Diesel would be here -> https://github.com/Tonic-AI/kbve/blob/main/packages/kbve/src/schema.rs

Actual SQL would then be placed in the migrations -> database folder.
https://github.com/Tonic-AI/kbve/tree/main/migrations/database

With Drizzle, you can export out to Zod as well, so that helps with front-end validation via React.
Diesel can help with raw SQLX for backend validation, also proto buffer validation, ect..

from datatonic.

linear avatar linear commented on September 25, 2024

QRE-15 SQL Database Design

from datatonic.

Josephrp avatar Josephrp commented on September 25, 2024

the above is simply a GPT example, we need to align this with our use case and probably pass it more in taskweaver than in semantic-kernel

from datatonic.

Zochory avatar Zochory commented on September 25, 2024

https://linear.app/qredence/issue/QRE-15/sql-database-design#comment-c4e5f4f6
Let me know what you think !

from datatonic.

Josephrp avatar Josephrp commented on September 25, 2024

so currently the schemas i guess ... dont exist , and we're meant to be processing and collating a lot of heterogeneous information, like client profiles and balance sheets, so i dont really know what you have in mind but i would rate this a very high priority high impact task @h0lybyte @GoldenWind8

from datatonic.

Josephrp avatar Josephrp commented on September 25, 2024

WIP in Task Weaver Branches

from datatonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.