@hedhog/admin 0.0.49 → 0.0.50

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedhog/admin",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -17,6 +17,7 @@ export class Migrate implements MigrationInterface {
17
17
  {
18
18
  name: 'slug',
19
19
  type: 'varchar',
20
+ isUnique: true,
20
21
  },
21
22
  {
22
23
  name: 'url',
@@ -17,6 +17,7 @@ export class Migrate implements MigrationInterface {
17
17
  name: 'slug',
18
18
  type: 'varchar',
19
19
  length: '63',
20
+ isUnique: true,
20
21
  },
21
22
  timestampColumn(),
22
23
  timestampColumn('updated_at'),