JoshHyde9 / qwik-portfolio

Third time's a charm
2 stars 0 forks source link

Migrations #1

Closed liamrohan closed 1 year ago

liamrohan commented 1 year ago

hey,

how're you creating a migration to send to planetscale which deploys the Guestbook schema?


export const db = new Kysely<Database>({
  dialect: new PlanetScaleDialect({
    host: "aws.connect.psdb.cloud",
    username: import.meta.env.VITE_DATABASE_USERNAME,
    password: import.meta.env.VITE_DATABASE_PASSWORD,
  }),
});
liamrohan commented 1 year ago

was being stupid, found out how to do this

JoshHyde9 commented 1 year ago

Haha you’re alright! Any dramas, please don’t hesitate to create more issues :)