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