iangg29 / tc2007b Goto Github PK
View Code? Open in Web Editor NEWMain class project infra & mobile application.
Home Page: https://dev.tc2007b.iangarcia.cloud
Main class project infra & mobile application.
Home Page: https://dev.tc2007b.iangarcia.cloud
Database connection not successful even with CA certificate
Switch connection string to individual details
Prase errors in imported module 'react-native': ';' expected.
Fixed navigation in web
HOTFIX REQUIRED
Error:
+ cd client
+ npm run build-relay
> [email protected] build-relay
> relay-compiler relay.config.json
[INFO] [default] compiling...
[ERROR] Error in the project `default`: ✖︎ The type `RootQuery` has no field `citationsActive`. Did you mean `citations`?
components/citations/CitationList.tsx:12:9
11 │ query CitationListQuery {
12 │ citationsActive {
│ ^^^^^^^^^^^^^^^
13 │ title
[ERROR] Error in the project `default`: ✖︎ The type `Document` has no field `file_name`.
components/profile/ProfileDocsList.tsx:20:11
19 │ id
20 │ file_name
│ ^^^^^^^^^
21 │ url
[ERROR] Error in the project `default`: ✖︎ The type `Document` has no field `url`.
components/profile/ProfileDocsList.tsx:21:11
20 │ file_name
21 │ url
│ ^^^
22 │ updated_at
[ERROR] Error in the project `default`: ✖︎ The type `RootQuery` has no field `applicationByUserID`. Did you mean `applicationByID`, `applicationByStatusID`, `applications`, or `applicationStatus`?
screens/applications/ApplicationsScreen.tsx:19:9
18 │ query ApplicationsScreenQuery($user_id: ID!) {
19 │ applicationByUserID(user_id: $user_id) {
│ ^^^^^^^^^^^^^^^^^^^
20 │ id
[ERROR] Compilation failed.
[ERROR] Unable to run relay compiler. Error details:
Failed to build:
- Validation errors:
- The type `RootQuery` has no field `citationsActive`. Did you mean `citations`?:components/citations/CitationList.tsx:41:56
- The type `Document` has no field `file_name`.:components/profile/ProfileDocsList.tsx:125:134
- The type `Document` has no field `url`.:components/profile/ProfileDocsList.tsx:145:148
- The type `RootQuery` has no field `applicationByUserID`. Did you mean `applicationByID`, `applicationByStatusID`, `applications`, or `applicationStatus`?:screens/applications/ApplicationsScreen.tsx:62:81
script returned exit code 1
Variable renaming.
Citations query is failing in production.
{errors: [{message: "Cannot return null for non-nullable field Citation.citation_document.",…},…],…}
data
:
{citations: [null, null, null, null]}
errors
:
[{message: "Cannot return null for non-nullable field Citation.citation_document.",…},…]
0
:
{message: "Cannot return null for non-nullable field Citation.citation_document.",…}
locations
:
[{line: 6, column: 5}]
message
:
"Cannot return null for non-nullable field Citation.citation_document."
path
:
["citations", 0, "citation_document"]
1
:
{message: "Cannot return null for non-nullable field Citation.citation_document.",…}
2
:
{message: "Cannot return null for non-nullable field Citation.citation_document.",…}
3
:
{message: "Cannot return null for non-nullable field Citation.citation_document.",…}
Fix relationships.
Password recovery
Seeding in development environment causing the following error.
Error while executing "/workspace/api/source/database/seeds/07_applications.ts" seed: insert into `Applications` (`application_description`, `application_status_id`, `application_title`, `citation_id`, `id`, `image`, `support`, `user_id`) values ('Solicito un apoyo por la cantidad de $1,500 pesos para comprar materiales (Pintura, pinceles, acuarelas, cartón y vidrio) para hacer una escultura, misma que será presentada en el centro de la ciudad el día 30 de Noviembre', '2', 'Financiamiento para obra de arte', '1', '1', 'https://cdn.pixabay.com/photo/2015/07/20/16/22/mexico-853048__340.jpg', '$1,500 pesos', '1'), ('Somos de la compañia de danza DanceTech, el día 28 de Diciembre nos gustaría abrir al público el espetaculo de la danza de los cisnes que hemos ensayado. Para esto solicitamos el teatro de la ciudad.', '2', 'La danza de los cisnes', '4', '2', 'https://cdn.pixabay.com/photo/2016/05/06/17/06/ballerinas-1376250__480.jpg', 'Teatro de la ciudad 28 de Diciembre de 15:00-22:00 hrs', '2'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '2', 'Solicitud para auditorio', '1', '3', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '3'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '4', 'Solicitud 7', '1', '8', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '6'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '3', 'Solicitud 8', '1', '9', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '5'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '5', 'Solicitud 9', '1', '10', 'https://cdn.pixabay.com/photo/2022/05/06/03/09/queretaro-7177385__340.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '4'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '6', 'Solicitud 11', '1', '12', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '7') - Data too long for column 'application_description' at row 3
Error: Error while executing "/workspace/api/source/database/seeds/07_applications.ts" seed: insert into `Applications` (`application_description`, `application_status_id`, `application_title`, `citation_id`, `id`, `image`, `support`, `user_id`) values ('Solicito un apoyo por la cantidad de $1,500 pesos para comprar materiales (Pintura, pinceles, acuarelas, cartón y vidrio) para hacer una escultura, misma que será presentada en el centro de la ciudad el día 30 de Noviembre', '2', 'Financiamiento para obra de arte', '1', '1', 'https://cdn.pixabay.com/photo/2015/07/20/16/22/mexico-853048__340.jpg', '$1,500 pesos', '1'), ('Somos de la compañia de danza DanceTech, el día 28 de Diciembre nos gustaría abrir al público el espetaculo de la danza de los cisnes que hemos ensayado. Para esto solicitamos el teatro de la ciudad.', '2', 'La danza de los cisnes', '4', '2', 'https://cdn.pixabay.com/photo/2016/05/06/17/06/ballerinas-1376250__480.jpg', 'Teatro de la ciudad 28 de Diciembre de 15:00-22:00 hrs', '2'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '2', 'Solicitud para auditorio', '1', '3', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '3'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '4', 'Solicitud 7', '1', '8', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '6'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '3', 'Solicitud 8', '1', '9', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '5'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '5', 'Solicitud 9', '1', '10', 'https://cdn.pixabay.com/photo/2022/05/06/03/09/queretaro-7177385__340.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '4'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '6', 'Solicitud 11', '1', '12', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '7') - Data too long for column 'application_description' at row 3
at Seeder._waterfallBatch (/workspace/api/node_modules/knex/lib/migrations/seed/Seeder.js:118:23)
Error: insert into `Applications` (`application_description`, `application_status_id`, `application_title`, `citation_id`, `id`, `image`, `support`, `user_id`) values ('Solicito un apoyo por la cantidad de $1,500 pesos para comprar materiales (Pintura, pinceles, acuarelas, cartón y vidrio) para hacer una escultura, misma que será presentada en el centro de la ciudad el día 30 de Noviembre', '2', 'Financiamiento para obra de arte', '1', '1', 'https://cdn.pixabay.com/photo/2015/07/20/16/22/mexico-853048__340.jpg', '$1,500 pesos', '1'), ('Somos de la compañia de danza DanceTech, el día 28 de Diciembre nos gustaría abrir al público el espetaculo de la danza de los cisnes que hemos ensayado. Para esto solicitamos el teatro de la ciudad.', '2', 'La danza de los cisnes', '4', '2', 'https://cdn.pixabay.com/photo/2016/05/06/17/06/ballerinas-1376250__480.jpg', 'Teatro de la ciudad 28 de Diciembre de 15:00-22:00 hrs', '2'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '2', 'Solicitud para auditorio', '1', '3', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '3'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '4', 'Solicitud 7', '1', '8', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '6'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '3', 'Solicitud 8', '1', '9', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '5'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '5', 'Solicitud 9', '1', '10', 'https://cdn.pixabay.com/photo/2022/05/06/03/09/queretaro-7177385__340.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '4'), ('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '6', 'Solicitud 11', '1', '12', 'https://www.artistasdelatierra.com/obras/foto104185.jpg', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras hendrerit sapien nisi, eget faucibus magna lobortis eu. Sed arcu nibh, varius eu finibus in, tincidunt nec tellus. Nullam suscipit mi libero, posuere sodales nunc congue quis. Cras rhoncus malesuada posuere. In sed velit at ex tincidunt sodales quis sit amet neque. Duis sodales libero at accumsan convallis. Curabitur feugiat justo a tellus tempor, at egestas ante mattis. Ut sagittis rhoncus iaculis.', '7') - Data too long for column 'application_description' at row 3
at Packet.asError (/workspace/api/node_modules/mysql2/lib/packets/packet.js:728:17)
at Query.execute (/workspace/api/node_modules/mysql2/lib/commands/command.js:29:26)
at Connection.handlePacket (/workspace/api/node_modules/mysql2/lib/connection.js:456:32)
at PacketParser.onPacket (/workspace/api/node_modules/mysql2/lib/connection.js:85:12)
at PacketParser.executeStart (/workspace/api/node_modules/mysql2/lib/packet_parser.js:75:16)
at Socket.<anonymous> (/workspace/api/node_modules/mysql2/lib/connection.js:92:25)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
Fix seed file.
process.env.VARIABLE
returns undefined
causing database connection failure with other API errors.
Fix dotenv
configuration.
const dotenv = require("dotenv");
dotenv.config({ path: "../.env" });
Create migrations seeds with knex
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.