Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e890f5

Browse files
authored
Update github-tickit-json-to-db.ts
1 parent 2270f37 commit 4e890f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

insight/transform/github-tickit-json-to-db.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export async function createTable(client: mysql.Client, tableName: string) {
1111
type ENUM('issue', 'pull') NOT NULL,
1212
repo VARCHAR(255) NOT NULL,
1313
number INT NOT NULL,
14-
title VARCHAR(255) NOT NULL,
15-
author VARCHAR(255) NOT NULL,
16-
email VARCHAR(255),
14+
title VARCHAR(512) NOT NULL,
15+
author VARCHAR(128) NOT NULL,
16+
email VARCHAR(128),
1717
state ENUM('open', 'closed') NOT NULL,
1818
created_at DATETIME NOT NULL,
1919
updated_at DATETIME NOT NULL,
@@ -25,7 +25,7 @@ export async function createTable(client: mysql.Client, tableName: string) {
2525
comments JSON,
2626
merged BOOLEAN,
2727
merged_at DATETIME,
28-
merged_by VARCHAR(255),
28+
merged_by VARCHAR(128),
2929
additions INT,
3030
deletions INT,
3131
changed_files INT,

0 commit comments

Comments
 (0)