90dc-core 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/dbmodels/nonconsprogram/UserNonConsumableProgram.ts"],"sourcesContent":["import {Table, Column, Model, ForeignKey, DataType, PrimaryKey} from \"sequelize-typescript\";\nimport { PersistedUser } from \"../PersistedUser\";\nimport { NonConsumableProgram } from \"./NonConsumableProgram\";\n\n@Table({ tableName: \"UserPrograms\", timestamps: true })\nexport class UserPrograms extends Model<UserPrograms> {\n @PrimaryKey\n @ForeignKey(() => PersistedUser)\n @Column({ type: DataType.UUID, allowNull: false })\n declare userUuid: string;\n\n @PrimaryKey\n @ForeignKey(() => NonConsumableProgram)\n @Column({ type: DataType.UUID, allowNull: false })\n declare programUuid: string;\n\n @Column({ type: DataType.
|
|
1
|
+
{"version":3,"sources":["../../../../src/lib/dbmodels/nonconsprogram/UserNonConsumableProgram.ts"],"sourcesContent":["import {Table, Column, Model, ForeignKey, DataType, PrimaryKey} from \"sequelize-typescript\";\nimport { PersistedUser } from \"../PersistedUser\";\nimport { NonConsumableProgram } from \"./NonConsumableProgram\";\n\n@Table({ tableName: \"UserPrograms\", timestamps: true })\nexport class UserPrograms extends Model<UserPrograms> {\n @PrimaryKey\n @ForeignKey(() => PersistedUser)\n @Column({ type: DataType.UUID, allowNull: false })\n declare userUuid: string;\n\n @PrimaryKey\n @ForeignKey(() => NonConsumableProgram)\n @Column({ type: DataType.UUID, allowNull: false })\n declare programUuid: string;\n\n @Column({ type: DataType.STRING, allowNull: false })\n declare purchasePlatform: string;\n}\n\n"],"names":["Table","Column","Model","ForeignKey","DataType","PrimaryKey","PersistedUser","NonConsumableProgram","UserPrograms","type","UUID","allowNull","STRING","tableName","timestamps"],"mappings":";;;;;;AAAA,SAAQA,KAAK,EAAEC,MAAM,EAAEC,KAAK,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,UAAU,QAAO,uBAAuB;AAC5F,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAASC,oBAAoB,QAAQ,yBAAyB;AAG9D,WAAaC,eAAN,2BAA2BN;AAalC,EAAC;;IAZIG;IACAF,WAAW,IAAMG;IACjBL,OAAO;QAAEQ,MAAML,SAASM,IAAI;QAAEC,WAAW,KAAK;IAAC;GAHvCH;;IAMRH;IACAF,WAAW,IAAMI;IACjBN,OAAO;QAAEQ,MAAML,SAASM,IAAI;QAAEC,WAAW,KAAK;IAAC;GARvCH;;IAWRP,OAAO;QAAEQ,MAAML,SAASQ,MAAM;QAAED,WAAW,KAAK;IAAC;GAXzCH;AAAAA;IADZR,MAAM;QAAEa,WAAW;QAAgBC,YAAY,IAAI;IAAC;GACxCN"}
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ export class UserPrograms extends Model<UserPrograms> {
|
|
|
14
14
|
@Column({ type: DataType.UUID, allowNull: false })
|
|
15
15
|
declare programUuid: string;
|
|
16
16
|
|
|
17
|
-
@Column({ type: DataType.
|
|
17
|
+
@Column({ type: DataType.STRING, allowNull: false })
|
|
18
18
|
declare purchasePlatform: string;
|
|
19
19
|
}
|
|
20
20
|
|