90dc-core 1.2.17 → 1.3.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "90dc-core",
3
- "version": "1.2.17",
3
+ "version": "1.3.0",
4
4
  "description": "A package that contains utils and interfaces used to create 90dc",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -3,7 +3,6 @@ import { Column, DataType, Default, Index, Model, Table } from "sequelize-typesc
3
3
  @Table
4
4
  export class PersistedUser extends Model {
5
5
 
6
- @Index
7
6
  @Default(DataType.UUIDV4)
8
7
  @Column({
9
8
  type: DataType.UUID,
@@ -13,6 +12,7 @@ export class PersistedUser extends Model {
13
12
  })
14
13
  declare userUuid: string;
15
14
 
15
+ @Index
16
16
  @Column({ type: DataType.TEXT, allowNull: false, unique: false })
17
17
  declare email: string;
18
18