sgpatil / oriquent

Orientdb Eloquent driver for Laravel 5
MIT License
47 stars 15 forks source link

Attempting to create columns/properties in a table/class through a migration file has no effect #39

Open CristianSitov opened 7 years ago

CristianSitov commented 7 years ago

I have created a migration file through which I try to add an extra property:

Schema::connection('orientdb')->table('resources', function(Blueprint $table)
{
    $table->string('name');
});

but there is no effect. Am I using correctly the table() method?

CristianSitov commented 7 years ago

I think I may have fixed through this commit on a pull request: https://github.com/CristianSitov/oriquent/commit/7454e788d8fe73aaa43b14ab42eff9d55ccdb7e4

Despite the fact that it works for me, I'm not 100% sure that it is the appropriate implementation.