question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No support for MySQL enum and float field type?

See original GitHub issue

Following #51, I found that MySQL enum and floar fields are simply ignored by Forest and not displayed at all.

We have the following field in our DB model which works and displays just fine using Sequelize:

    status: {
      type: DataTypes.ENUM,
      values: ['pending', 'listed'],
      allowNull: false,
      defaultValue: 'pending'
    },
    display_order: {
      type: DataTypes.FLOAT
    }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
arnaudbesniercommented, Jan 2, 2017

Manual changes are a workaround but definitely not a fix. This issue should be reopened.

0reactions
jeremymaignancommented, Apr 3, 2019

Hi, I am facing the same issue. How can I fix it ? Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

MySQL 8.0 Reference Manual :: 11.3.5 The ENUM Type
An ENUM is a string object with a value chosen from a list of permitted values that are enumerated explicitly in the column...
Read more >
11.1.4 Floating-Point Types (Approximate Value)
The FLOAT and DOUBLE types represent approximate numeric data values. MySQL uses four bytes for single-precision values and eight bytes for double-precision ...
Read more >
MySQL 8.0 Reference Manual :: 11 Data Types
MySQL supports SQL data types in several categories: numeric types, date and time types, string (character and byte) types, spatial types, and the...
Read more >
11.7 Data Type Storage Requirements
This section includes guidelines and information for the storage requirements for each data type supported by MySQL, including the internal format and size ......
Read more >
11.1.1 Numeric Data Type Syntax - MySQL :: Developer Zone
As of MySQL 8.0.17, the UNSIGNED attribute is deprecated for columns of type FLOAT , DOUBLE , and DECIMAL (and any synonyms); you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found