8afc181b86407d8e57bf5934b235bda255f220fa
duplicated placement data in the attribution table and the ledger scores table. Means that setting placement in the attribution table is meaningless. Probably best to remove the placement in the attribution, or have it reference the placement in the ledger, else return 0. That would mean that the only way to change the scores is in the ledger, which is basically what I want, but also if the db dies then there's not really anything that I can do to recover the scores (same is true for the attribute table, but I can seed that so it doesn't matter as much). To get around that, I would need to add seeding the ledger to a seperate command, which defeats the point of a ledger. Just add a way to import and export the whole ledger to csv, dumbass.
sv
Everything you need to build a Svelte project, powered by sv.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project
npx sv create my-app
To recreate this project with the same configuration:
# recreate this project
bun x sv@0.15.2 create --template minimal --types ts --add tailwindcss="plugins:typography,forms" better-auth="demo:password" drizzle="database:sqlite+sqlite:libsql" --install bun score-system
Developing
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.
Description
Languages
TypeScript
68.3%
JavaScript
14.2%
Svelte
7.9%
Nix
5.7%
HTML
2.5%
Other
1.4%