@hedhog/admin 0.0.71 → 0.0.73
Sign up to get free protection for your applications and to get access to all the features.
- package/hedhog.yaml +41 -47
- package/package.json +1 -1
- package/src/migrations/migrate-01.ts +0 -9
- package/src/migrations/migrate-03.ts +0 -1
package/hedhog.yaml
CHANGED
@@ -1001,9 +1001,9 @@ data:
|
|
1001
1001
|
en: System administrator with full access.
|
1002
1002
|
pt: Administrador do sistema com acesso total.
|
1003
1003
|
relations:
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1004
|
+
role_users:
|
1005
|
+
- where:
|
1006
|
+
email: root@hedhog.com
|
1007
1007
|
- slug: screen-manager
|
1008
1008
|
name:
|
1009
1009
|
en: Screen Manager
|
@@ -1012,9 +1012,9 @@ data:
|
|
1012
1012
|
en: Manage screens in the system.
|
1013
1013
|
pt: Gerenciar telas no sistema.
|
1014
1014
|
relations:
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1015
|
+
role_users:
|
1016
|
+
- where:
|
1017
|
+
email: user@hedhog.com
|
1018
1018
|
- slug: admin-access
|
1019
1019
|
name:
|
1020
1020
|
en: Admin Access
|
@@ -1023,53 +1023,47 @@ data:
|
|
1023
1023
|
en: Access to administrative features.
|
1024
1024
|
pt: Acesso a funcionalidades administrativas.
|
1025
1025
|
relations:
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1026
|
+
role_users:
|
1027
|
+
- where:
|
1028
|
+
email: root@hedhog.com
|
1029
|
+
- where:
|
1030
|
+
email: user@hedhog.com
|
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:
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1039
|
+
translations:
|
1040
|
+
- locale_id:
|
1041
|
+
where:
|
1042
|
+
code: en
|
1043
|
+
name: slogan
|
1044
|
+
value: Administration Panel
|
1045
|
+
- locale_id:
|
1046
|
+
where:
|
1047
|
+
code: pt
|
1048
|
+
name: slogan
|
1049
|
+
value: Painel de Administração
|
1050
|
+
- locale_id:
|
1051
|
+
where:
|
1052
|
+
code: en
|
1053
|
+
name: en
|
1054
|
+
value: English
|
1055
|
+
- locale_id:
|
1056
|
+
where:
|
1057
|
+
code: en
|
1058
|
+
name: pt
|
1059
|
+
value: Portuguese
|
1060
|
+
- locale_id:
|
1061
|
+
where:
|
1062
|
+
code: pt
|
1063
|
+
name: en
|
1064
|
+
value: Inglês
|
1065
|
+
- locale_id:
|
1066
|
+
where:
|
1053
1067
|
code: pt
|
1054
|
-
|
1055
|
-
|
1056
|
-
- locale_id:
|
1057
|
-
where:
|
1058
|
-
code: en
|
1059
|
-
name: en
|
1060
|
-
value: English
|
1061
|
-
- locale_id:
|
1062
|
-
where:
|
1063
|
-
code: en
|
1064
|
-
name: pt
|
1065
|
-
value: Portuguese
|
1066
|
-
- locale_id:
|
1067
|
-
where:
|
1068
|
-
code: pt
|
1069
|
-
name: en
|
1070
|
-
value: Inglês
|
1071
|
-
- locale_id:
|
1072
|
-
where:
|
1073
|
-
code: pt
|
1074
|
-
name: pt
|
1075
|
-
value: Português
|
1068
|
+
name: pt
|
1069
|
+
value: Português
|
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
|
|