We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5243b7 commit 6b08f33Copy full SHA for 6b08f33
templates/model.txt
@@ -3,4 +3,9 @@ import { BaseModel, column } from '@ioc:Adonis/Lucid/Orm'
3
export default class ${filename} extends BaseModel {
4
@column({ isPrimary: true })
5
public id: number
6
+
7
+ public static $columns: Pick<
8
+ filename,
9
+ 'id'
10
+ >
11
}
0 commit comments