Giter VIP home page Giter VIP logo

Comments (11)

LaravelFreelancerNL avatar LaravelFreelancerNL commented on June 1, 2024

Thank you for you issue report.

I've fixed the bug and released alpha 3.

from laravel-arangodb.

bridgebrain avatar bridgebrain commented on June 1, 2024

Thank you! Ran again on the a3 release, got this one next:

INFO Running migrations.

2014_10_12_000000_create_users_table ................................................................................................... 12ms FAIL

TypeError

Illuminate\Database\Migrations\Migration@anonymous(): Argument #1 ($table) must be of type Illuminate\Database\Schema\Blueprint, LaravelFreelancerNL\Aranguent\Schema\Blueprint given, called in /home/bridgebrain/web/infinatummedia.com/public_html/vendor/laravel-freelancer-nl/aranguent/src/Schema/Concerns/UsesBlueprints.php on line 56

at database/migrations/2014_10_12_000000_create_users_table.php:14
10▕ * Run the migrations.
11▕ */
12▕ public function up(): void
13▕ {
➜ 14▕ Schema::create('users', function (Blueprint $table) {
15▕ $table->id();
16▕ $table->string('name');
17▕ $table->string('email')->unique();
18▕ $table->timestamp('email_verified_at')->nullable();

1 database/migrations/2014_10_12_000000_create_users_table.php:14
Illuminate\Support\Facades\Facade::__callStatic()
+24 vendor frames

26 artisan:35
Illuminate\Foundation\Console\Kernel::handle()

from laravel-arangodb.

LaravelFreelancerNL avatar LaravelFreelancerNL commented on June 1, 2024

Did you run: php artisan aranguent:convert-migrations ?

That should do the trick and create the users collection with indexes. (column functions are ignored)

Note that the command will likely change in the next release as I'm fiddling with the artisan commands atm to get a more streamlined experience.

And I see that this command seems to be missing from the docs. I'll add that with the next release.

from laravel-arangodb.

bridgebrain avatar bridgebrain commented on June 1, 2024

Ah! Yes, that worked, fantastic! Thank you so much for building this bridge :D

from laravel-arangodb.

LaravelFreelancerNL avatar LaravelFreelancerNL commented on June 1, 2024

You're welcome. Let me know if you need any help.

from laravel-arangodb.

bridgebrain avatar bridgebrain commented on June 1, 2024

Hey, sorry to open this back up, but I rebuilt on a new server, and I'm getting the same error, but when I go to run that command I get " ERROR There are no commands defined in the "aranguent" namespace. "

Edit: Nvm, tinkered some more and ran it without the aranguent (convert:migrations) and it ran.
I finally have a few days to work on building my site out with this, so I might be back in for other errors as they crop up. Thanks again!

from laravel-arangodb.

LaravelFreelancerNL avatar LaravelFreelancerNL commented on June 1, 2024

Np, since the last alpha release the artisan commands where brought in line with the Laravel parents and the namespace was removed for new commands.

Note that there is a fallback option for the migration commands should you want to use another database (mysql or whatever) along with arangodb.

Good luck and bring it on ^^

from laravel-arangodb.

LaravelFreelancerNL avatar LaravelFreelancerNL commented on June 1, 2024

Also note that the beta version is around the corner and will drop Laravel 10 in favour of Laravel 11.
I'll see if I can get that out today, that should make things easier for you.

from laravel-arangodb.

bridgebrain avatar bridgebrain commented on June 1, 2024

I saw the option for a second database in the documents when i was hunting around. Im deliberating setting one up, but i feel like if i have to split my attention through keeping up with both ill drive myself crazy. On the other hand, simpler for standard operations, might actually have something to show people in the next few months instead of more deep tinkering. (I found yet another trove of free self hosted apps today, and valiantly only read every description instead of trying to run and debugging 50 new toys)

from laravel-arangodb.

LaravelFreelancerNL avatar LaravelFreelancerNL commented on June 1, 2024

Yeah, I just use ArangoDB as it does everything I need.

Supporting two types of databases at once was the most requested feature sofar though. Perhaps its easier for some people that have an existing project, or want to replace mongodb (which is often used as a data-dump-store).

from laravel-arangodb.

LaravelFreelancerNL avatar LaravelFreelancerNL commented on June 1, 2024

The beta is out with support for Laravel 11

from laravel-arangodb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.