What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
anyone has seen this? ```Structure of database was modified in datasource "zed": 207 added tables Er
anyone has seen this? ```
Structure of database was modified in datasource "zed": 207 added tables
Error - Exception: Call to a member function getName() on null
in /data/shop/development/current/vendor/propel/propel/src/Propel/Generator/Platform/DefaultPlatform.php (449)
Command: vendor/bin/console propel:diff
Trace:
0 /data/shop/development/current/vendor/propel/propel/src/Propel/Generator/Platform/DefaultPlatform.php(556): Propel\Generator\Platform\DefaultPlatform->getColumnListDDL(Array)
1 /data/shop/development/current/vendor/propel/propel/src/Propel/Generator/Platform/DefaultPlatform.php(534): Propel\Generator\Platform\DefaultPlatform->getAddIndexDDL(Object(Propel\Generator\Model\Index))
2 /data/shop/development/current/vendor/propel/propel/src/Propel/Generator/Platform/DefaultPlatform.php(729): Propel\Generator\Platform\DefaultPlatform->getAddIndicesDDL(Object(Propel\Generator\Model\Table))
3 /data/shop/development/current/vendor/propel/propel/src/Propel/Generator/Command/MigrationDiffCommand.php(208): Propel\Generator\Platform\DefaultPlatform->getModifyDatabaseDDL(Object(Propel\Generator\Model\Diff\DatabaseDiff))
4 /data/shop/development/current/vendor/spryker/propel-orm/src/Spryker/Zed/PropelOrm/Communication/Generator/Command/MigrationDiffCommand.php(29): Propel\Generator\Command\MigrationDiffCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
5 /data/shop/development/current/vendor/spryker/propel/src/Spryker/Zed/Propel/Communication/Command/Runner/PropelCommandRunner.php(63): Spryker\Zed\PropelOrm\Communication\Generator\Command\MigrationDiffCommand->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
6 /data/shop/development/current/vendor/spryker/propel/src/Spryker/Zed/Propel/Communication/Console/DiffConsole.php(51): Spryker\Zed\Propel\Communication\Command\Runner\PropelCommandRunner->runCommand(Object(Spryker\Zed\PropelOrm\Communication\Generator\Command\MigrationDiffCommand), Object(Symfony\Component\Console\Input\InputDefinition), Object(Symfony\Component\Console\Output\ConsoleOutput))
7 /data/shop/development/current/vendor/symfony/console/Command/Command.php(255): Spryker\Zed\Propel\Communication\Console\DiffConsole->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
8 /data/shop/development/current/vendor/symfony/console/Application.php(987): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
9 /data/shop/development/current/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Spryker\Zed\Propel\Communication\Console\DiffConsole), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
10 /data/shop/development/current/vendor/spryker/console/src/Spryker/Zed/Console/Communication/ConsoleBootstrap.php(153): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
11 /data/shop/development/current/vendor/symfony/console/Application.php(148): Spryker\Zed\Console\Communication\ConsoleBootstrap->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
12 /data/shop/development/current/vendor/spryker/console/bin/console(21): Symfony\Component\Console\Application->run()
```
Comments
-
is there something missing in the propel schema file
0 -
Hi Lucian, this usually happens when you have an invalid schema file some where, maybe even an empty one. I would suggest to either check the one-s youβve recently added or if you have no idea where that might come from, try to add a breakpoint to
DefaultPlatform.php (449)
and see which table is causing that0 -
(I even still have a breakpoint there, so happened to me π )
0 -
deleted everything from
src/Orm/Propel/<store>/
0 -
and still happens
0 -
got rid of it somehow
0 -
thank you
0 -
itβs not about deleting auto-generated schemas by propel, itβs about checking project/module-specific one-s you have in
Persistence
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 69 Spryker News
- 899 Developer Corner
- 760 Spryker Development
- 83 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 24 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random