@hedhog/admin 0.0.48 → 0.0.49
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -52,9 +52,10 @@ export class Migrate implements MigrationInterface {
|
|
52
52
|
timestampColumn(),
|
53
53
|
timestampColumn('updated_at'),
|
54
54
|
],
|
55
|
-
|
55
|
+
indices: [
|
56
56
|
{
|
57
57
|
columnNames: ['locale_id', 'namespace_id', 'name'],
|
58
|
+
isUnique: true,
|
58
59
|
},
|
59
60
|
],
|
60
61
|
foreignKeys: [
|
@@ -21,14 +21,12 @@ export class Migrate implements MigrationInterface {
|
|
21
21
|
timestampColumn(),
|
22
22
|
timestampColumn('updated_at'),
|
23
23
|
],
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
columnNames: ['url', 'method'],
|
31
|
-
name: 'unique_routes',
|
24
|
+
indices: [
|
25
|
+
{
|
26
|
+
columnNames: ['url', 'method'],
|
27
|
+
isUnique: true,
|
28
|
+
},
|
29
|
+
],
|
32
30
|
}),
|
33
31
|
);
|
34
32
|
|