Comments (4)
how To fix it
from dbexporter.
how To fix it ? please help me
from dbexporter.
I don't have sample code..
What I did was create my own service provider class by extending the original one. The class overrides the boot() method so that it is empty. Then I've modified the /config/app.php to use my classes instead of the original ones.
Does that makes sense?
from dbexporter.
For Laravel 5 users, using following steps could fix it:
step 1
comment out $this->package('nwidart/db-exporter'); in both files:
vendor/nwidart/db-exporter/src/Nwidart/DbExporter/DbExportHandlerServiceProvider.php
vendor/nwidart/db-exporter/src/Nwidart/DbExporter/DbMigrationsServiceProvider.php
after edit:
public function boot()
{
// $this->package('nwidart/db-exporter');
}
step 2
edit config/app.php, add
'Str' => Illuminate\Support\Str::class,
to 'aliases' section, and add
Nwidart\DbExporter\DbExportHandlerServiceProvider::class,
to providers section
finish
Code complete. Now execute
php artisan dbe:seeds
php artisan dbe:migrations
and you will get laravelTableSeeder.php and 20xx_xx_xx_xxxxx_create_laravel_database.php files in your project root directory.
from dbexporter.
Related Issues (20)
- Broken migration php for unsigned decimal field
- does not work with postgresql HOT 1
- Database not recognized if used with prefix HOT 2
- Inclusion in 'providers' array breaks artisan HOT 3
- JSON Fields
- This is the output when tried to update composer HOT 4
- [BadMethodCallException] Call to undefined method [package] HOT 1
- Package doesn't work with Laravel 5.1 HOT 1
- laravel 5 HOT 1
- Laravel 5 support
- Ignoring tables with array results in empty seed file HOT 1
- Class 'Str' not found in src/Nwidart/DbExporter/DbMigrations.php on line 217 HOT 2
- [Feature] Add support for relationships
- [Bug] Wrong Index generation
- 修正bug HOT 2
- Call to undefined method Nwidart\DbExporter\DbExportHandlerServiceProvider::package() HOT 2
- php artisan dbe:migrations errors HOT 2
- Is this works for MSSQL?
- Abandoned? HOT 1
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 dbexporter.