Skip to content

Commit

Permalink
fix: sql types
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Feb 2, 2024
1 parent af549ba commit 8e91287
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/components/account/models/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default Ext.define( null, {
"extend": "Ext.data.Model",

"fields": [
{ "name": "id", "type": "string" },
"id",

// fields
"email",
Expand Down
2 changes: 1 addition & 1 deletion src/components/account/tokens/models/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default Ext.define( null, {
},

"fields": [
{ "name": "id", "type": "string" },
"id",

// fields
"name",
Expand Down
2 changes: 1 addition & 1 deletion src/components/acl/models/role.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default Ext.define( null, {
"extend": "Ext.data.Model",

"fields": [
{ "name": "id", "type": "string" },
"id",

// fields
{ "name": "name", "type": "string" },
Expand Down
2 changes: 1 addition & 1 deletion src/components/acl/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default Ext.define( null, {
},

"fields": [
{ "name": "id", "type": "string" },
"id",

// fields
{ "name": "acl_id", "type": "string" },
Expand Down
2 changes: 1 addition & 1 deletion src/components/administration/users/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default Ext.define( null, {
},

"fields": [
{ "name": "id", "type": "string" },
"id",

// fields
{ "name": "created", "type": "date" },
Expand Down
2 changes: 1 addition & 1 deletion src/components/development/cron/models/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default Ext.define( null, {
},

"fields": [
{ "name": "id", "type": "string" },
"id",

// fields
"module",
Expand Down
3 changes: 2 additions & 1 deletion src/components/notifications/models/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export default Ext.define( null, {
},

"fields": [
{ "name": "id", "type": "string" },
"id",

{ "name": "created", "type": "date" },
{ "name": "expired", "type": "date" },

Expand Down
2 changes: 1 addition & 1 deletion src/components/telegram/bot/links/models/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default Ext.define( null, {
},

"fields": [
{ "name": "id", "type": "string" },
"id",

// fields
"name",
Expand Down
2 changes: 1 addition & 1 deletion src/components/telegram/bot/models/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default Ext.define( null, {
"extend": "Ext.data.Model",

"fields": [
{ "name": "id", "type": "string" },
"id",

// fields
"acl_id",
Expand Down
2 changes: 1 addition & 1 deletion src/components/telegram/bot/users/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default Ext.define( null, {
},

"fields": [
{ "name": "id", "type": "string" },
"id",

// fields
"telegram_bot_id",
Expand Down
2 changes: 1 addition & 1 deletion src/components/user-sessions/models/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default Ext.define( null, {
// },

"fields": [
{ "name": "id", "type": "string" },
"id",

// fields
{ "name": "created", "type": "date" },
Expand Down

0 comments on commit 8e91287

Please sign in to comment.