Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrations Sequential field information is required #2076

Closed
jongbatax opened this issue Jun 26, 2019 · 0 comments
Closed

Migrations Sequential field information is required #2076

jongbatax opened this issue Jun 26, 2019 · 0 comments

Comments

@jongbatax
Copy link

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(
[
.
.
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant