Skip to content

build: xata schema upload db-schema.json outdated #236

@conventoangelo

Description

@conventoangelo

I want to contribute something to the website, but getting Xata to run is hindering my progress. I'm following the current contributing guide and, although I encountered some errors, I was able to solve them by implementing the fixes made in #234.

However, I cannot get past the step involving xata schema upload db-schema.json because it returns the error: Error: this endpoint works only with non postgres enabled branches.

While I found that xata schema edit --source could hypothetically allow me to copy and paste the contents of the db-schema.json file, this command is not yet supported by Xata.

I can successfully run pnpm dev, but as soon as I try to navigate to a page, I get an error.

A possible workaround is to provide a dummy or subset of the actual data as CSV files for each table in the schema and then use xata import csv <file> to populate and define the tables.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions