Skip to content

[Bug]: file_content_b64 column type is not big enough in derby sql init script. #3938

@simonsssu

Description

@simonsssu

What happened?

CREATE TABLE platform_file (
id INT GENERATED ALWAYS AS IDENTITY,
file_name VARCHAR(100) NOT NULL,
file_content_b64 LONG VARCHAR NOT NULL,
file_path VARCHAR(100),
add_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT platform_file_pk PRIMARY KEY (id)
);

this will cause failed if the configuration file is big.

Affects Versions

0.8

What table formats are you seeing the problem on?

No response

What engines are you seeing the problem on?

No response

How to reproduce

No response

Relevant log output

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions