How can I skip columns I don't want to have generated?

I'm using drizzle-seed (btw, there's no tag yet in the Discord help space) and I don't want some columns generated (default). How can I specify this? Currently, the script fails with column with type xata_file is not supported for now. Even though the table that has a count > 0 has no such columns.
import { seed } from 'drizzle-seed';
import { db } from '..';
import * as schema from '../schema';

const main = async () => {
await seed(db, schema, {
count: 0,
}).refine((f) => ({
usersTbl: {
count: 1,
},
}));
};

main();
import { seed } from 'drizzle-seed';
import { db } from '..';
import * as schema from '../schema';

const main = async () => {
await seed(db, schema, {
count: 0,
}).refine((f) => ({
usersTbl: {
count: 1,
},
}));
};

main();
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?