@hedhog/admin 0.0.71 → 0.0.72
Sign up to get free protection for your applications and to get access to all the features.
package/hedhog.yaml
CHANGED
@@ -1031,14 +1031,8 @@ data:
|
|
1031
1031
|
locales:
|
1032
1032
|
- code: en
|
1033
1033
|
region: US
|
1034
|
-
country_id:
|
1035
|
-
where:
|
1036
|
-
code: USA
|
1037
1034
|
- code: pt
|
1038
1035
|
region: BR
|
1039
|
-
country_id:
|
1040
|
-
where:
|
1041
|
-
code: BRA
|
1042
1036
|
translation_namespaces:
|
1043
1037
|
- name: translation
|
1044
1038
|
relations:
|
package/package.json
CHANGED
@@ -26,7 +26,6 @@ export class Migrate implements MigrationInterface {
|
|
26
26
|
name: 'locales',
|
27
27
|
columns: [
|
28
28
|
idColumn(),
|
29
|
-
foreignColumn({ name: 'country_id' }),
|
30
29
|
{
|
31
30
|
name: 'code',
|
32
31
|
type: 'char',
|
@@ -47,14 +46,6 @@ export class Migrate implements MigrationInterface {
|
|
47
46
|
timestampColumn(),
|
48
47
|
timestampColumn('updated_at'),
|
49
48
|
],
|
50
|
-
foreignKeys: [
|
51
|
-
{
|
52
|
-
columnNames: ['country_id'],
|
53
|
-
referencedColumnNames: ['id'],
|
54
|
-
referencedTableName: 'countries',
|
55
|
-
onDelete: 'CASCADE',
|
56
|
-
},
|
57
|
-
],
|
58
49
|
}),
|
59
50
|
);
|
60
51
|
|