MCPcopy
hub / github.com/drizzle-team/drizzle-orm / addBasicSequences

Function addBasicSequences

drizzle-kit/tests/push/pg.test.ts:554–567  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

552 },
553
554 async addBasicSequences() {
555 const client = new PGlite();
556
557 const schema1 = {
558 seq: pgSequence('my_seq', { startWith: 100 }),
559 };
560
561 const schema2 = {
562 seq: pgSequence('my_seq', { startWith: 100 }),
563 };
564
565 const { statements, sqlStatements } = await diffTestSchemasPush(client, schema1, schema2, [], false, ['public']);
566 expect(statements.length).toBe(0);
567 },
568
569 async changeIndexFields() {
570 const client = new PGlite();

Callers

nothing calls this directly

Calls 2

pgSequenceFunction · 0.90
diffTestSchemasPushFunction · 0.90

Tested by

no test coverage detected