Unified · Split
| @@ -49,7 +49,7 @@ CREATE TABLE "definition" ( · 48 unmodified lines | |||
| 49 | "integration" varchar(255) NOT NULL, | 49 | "integration" varchar(255) NOT NULL, |
| 50 | "connection" varchar(255) NOT NULL, | 50 | "connection" varchar(255) NOT NULL, |
| 51 | "plugin_id" text NOT NULL, | 51 | "plugin_id" text NOT NULL, |
| 52 | "name" varchar(255) NOT NULL, | 52 | "name" text NOT NULL, |
| 53 | "schema" json NOT NULL, | 53 | "schema" json NOT NULL, |
| 54 | "created_at" timestamp NOT NULL, | 54 | "created_at" timestamp NOT NULL, |
| 55 | "row_id" varchar(255) PRIMARY KEY NOT NULL, | 55 | "row_id" varchar(255) PRIMARY KEY NOT NULL, |
| @@ -189,7 +189,7 @@ · 188 unmodified lines | |||
| 189 | }, | 189 | }, |
| 190 | "name": { | 190 | "name": { |
| 191 | "name": "name", | 191 | "name": "name", |
| 192 | "type": "varchar(255)", | 192 | "type": "text", |
| 193 | "primaryKey": false, | 193 | "primaryKey": false, |
| 194 | "notNull": true | 194 | "notNull": true |
| 195 | }, | 195 | }, |
| @@ -807,7 +807,7 @@ const createV2Schema = async (sql: Pg): Promise<void> => { · 806 unmodified lines | |||
| 807 | "integration" varchar(255) not null, | 807 | "integration" varchar(255) not null, |
| 808 | "connection" varchar(255) not null, | 808 | "connection" varchar(255) not null, |
| 809 | "plugin_id" text not null, | 809 | "plugin_id" text not null, |
| 810 | "name" varchar(255) not null, | 810 | "name" text not null, |
| 811 | "schema" json not null, | 811 | "schema" json not null, |
| 812 | "created_at" timestamp not null, | 812 | "created_at" timestamp not null, |
| 813 | "row_id" varchar(255) primary key not null, | 813 | "row_id" varchar(255) primary key not null, |
| @@ -154,7 +154,7 @@ export const definition = pgTable( · 153 unmodified lines | |||
| 154 | integration: varchar("integration", { length: 255 }).notNull(), | 154 | integration: varchar("integration", { length: 255 }).notNull(), |
| 155 | connection: varchar("connection", { length: 255 }).notNull(), | 155 | connection: varchar("connection", { length: 255 }).notNull(), |
| 156 | plugin_id: text("plugin_id").notNull(), | 156 | plugin_id: text("plugin_id").notNull(), |
| 157 | name: varchar("name", { length: 255 }).notNull(), | 157 | name: text("name").notNull(), |
| 158 | schema: json("schema").notNull(), | 158 | schema: json("schema").notNull(), |
| 159 | created_at: timestamp("created_at").notNull(), | 159 | created_at: timestamp("created_at").notNull(), |
| 160 | row_id: varchar("row_id", { length: 255 }) | 160 | row_id: varchar("row_id", { length: 255 }) |