diff --git a/test/integration/examples/sample27-composite-primary-keys/entity/Post.ts b/test/integration/examples/sample27-composite-primary-keys/entity/Post.ts new file mode 100644 index 0000000..26d9d80 --- /dev/null +++ b/test/integration/examples/sample27-composite-primary-keys/entity/Post.ts @@ -0,0 +1,15 @@ +import {Column, Entity, PrimaryColumn} from "typeorm"; + +@Entity("Post") +export class Post { + + @PrimaryColumn("int") + id: number; + + @PrimaryColumn() + type: string; + + @Column() + text: string; + +} \ No newline at end of file