Coder Social home page Coder Social logo

Api update about seat HOT 4 CLOSED

eveseat avatar eveseat commented on May 27, 2024
Api update

from seat.

Comments (4)

leonjza avatar leonjza commented on May 27, 2024

Please send the output of describe account_api_key_info_characters from your MySQL console. The table account_api_key_info_characters should have an ID column https://github.com/eveseat/eveapi/blob/master/src/database/migrations/2015_09_04_193632_create_account_api_key_info_characters_table.php#L19. If you installed this before the official release, you may be missing the id column.

from seat.

JackTerok avatar JackTerok commented on May 27, 2024
mysql> describe account_api_key_info_characters;
+-----------------+--------------+------+-----+---------------------+-------+
| Field           | Type         | Null | Key | Default             | Extra |
+-----------------+--------------+------+-----+---------------------+-------+
| keyID           | int(11)      | NO   | MUL | NULL                |       |
| characterID     | int(11)      | NO   | MUL | NULL                |       |
| characterName   | varchar(255) | NO   | MUL | NULL                |       |
| corporationID   | int(11)      | NO   |     | NULL                |       |
| corporationName | varchar(255) | NO   |     | NULL                |       |
| created_at      | timestamp    | NO   |     | 0000-00-00 00:00:00 |       |
| updated_at      | timestamp    | NO   |     | 0000-00-00 00:00:00 |       |
+-----------------+--------------+------+-----+---------------------+-------+
7 rows in set (0.00 sec)

from seat.

warlof avatar warlof commented on May 27, 2024

Fix the table according to qu1ckkkk says :
Alter table account_api_key_info_characters
ADD column id int auto_increment;

from seat.

JackTerok avatar JackTerok commented on May 27, 2024

Thx. Now looks like the following and is working. ;)

mysql> describe account_api_key_info_characters;
+-----------------+------------------+------+-----+---------------------+----------------+
| Field           | Type             | Null | Key | Default             | Extra          |
+-----------------+------------------+------+-----+---------------------+----------------+
| keyID           | int(11)          | NO   | MUL | NULL                |                |
| id              | int(10) unsigned | NO   | PRI | NULL                | auto_increment |
| characterID     | int(11)          | NO   | MUL | NULL                |                |
| characterName   | varchar(255)     | NO   | MUL | NULL                |                |
| corporationID   | int(11)          | NO   |     | NULL                |                |
| corporationName | varchar(255)     | NO   |     | NULL                |                |
| created_at      | timestamp        | NO   |     | 0000-00-00 00:00:00 |                |
| updated_at      | timestamp        | NO   |     | 0000-00-00 00:00:00 |                |
+-----------------+------------------+------+-----+---------------------+----------------+
8 rows in set (0.00 sec)

from seat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.