Start Umbau zu postgres
This commit is contained in:
15
bizmatch-server/src/drizzle/schema.ts
Normal file
15
bizmatch-server/src/drizzle/schema.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { integer, serial, text, pgTable } from 'drizzle-orm/pg-core';
|
||||
import { relations } from 'drizzle-orm';
|
||||
import { jsonb, varchar } from 'drizzle-orm/pg-core';
|
||||
|
||||
export const PG_CONNECTION = 'PG_CONNECTION';
|
||||
|
||||
export const businesses_json = pgTable('businesses_json', {
|
||||
id: varchar('id', { length: 255 }).primaryKey(),
|
||||
data: jsonb('data'),
|
||||
});
|
||||
|
||||
export type BusinessesJson = {
|
||||
id: string;
|
||||
data: Record<string, any>;
|
||||
};
|
||||
Reference in New Issue
Block a user