Comments (11)
Thank you for you issue report.
I've fixed the bug and released alpha 3.
from laravel-arangodb.
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.
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.
Ah! Yes, that worked, fantastic! Thank you so much for building this bridge :D
from laravel-arangodb.
You're welcome. Let me know if you need any help.
from laravel-arangodb.
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.
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.
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.
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.
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.
The beta is out with support for Laravel 11
from laravel-arangodb.
Related Issues (20)
- Add union aggregates
- Add queue driver
- Fix: Schema: no index is created for primary()
- Streamline schema index functions
- Type error getTablePrefix
- Support insertOrIgnoreUsing
- Support joinLateral
- Confirm whereAll/whereAny functionality HOT 1
- Support Laravel 11 HOT 1
- Support multidimensional indexes
- Booleans are cast to tinyInt in where clauses
- Configure default key options
- Fully support db:wipe
- Fully support db:monitor
- Support db:show
- Support db:table
- Investigate json field storage HOT 2
- dashes in property names break queries
- Array/AsArrayObject only cast the whole object instead of working recursively
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-arangodb.