Skip to content

Commit 10dc39b

Browse files
Wojciech KrysiakWojciech Krysiak
authored andcommitted
test: add array to the example app
1 parent ec21bd6 commit 10dc39b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,5 @@ dist
116116
.pnp.*
117117

118118
build
119-
types
119+
types
120+
.vscode

example-app/src/comments/comment.entity.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ const build = (sequelize: Sequelize) => {
1010
userId: {
1111
type: DataTypes.INTEGER,
1212
},
13+
friends: {
14+
type: DataTypes.ARRAY(DataTypes.TEXT),
15+
},
1316
}, {
1417
// Other model options go here
1518
})

0 commit comments

Comments
 (0)