Skip to content

Migrations Sequential field information is required #2076

Description

@jongbatax

CodeIgniter CLI Tool - Version 4.0.0-beta.3 - Server-Time: 2019-06-26 11:05:40am

Migrating to version 002...

Field information is required.
/home/siagian/Workspaces/ci4/serelib/vendor/codeigniter4/framework/system/Database/Forge.php - 466

in file Forge.php line 466
if (count($this->fields) === 0)
{
throw new \RuntimeException('Field information is required.');
}

my code
public function up()
{
$this->forge->addField(
[
.
.
]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions