Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cycle configuration #166

Closed
roxblnfk opened this issue Mar 13, 2023 · 1 comment
Closed

Fix cycle configuration #166

roxblnfk opened this issue Mar 13, 2023 · 1 comment
Labels
status:ready for adoption Feel free to implement this issue.

Comments

@roxblnfk
Copy link
Member

Need to correct generators and schema-provider list.
SyncTables can be commented

'schema-providers' => [
// Uncomment next line to enable a Schema caching in the common cache
// \Yiisoft\Yii\Cycle\Schema\Provider\SimpleCacheSchemaProvider::class => ['key' => 'cycle-orm-cache-key'],
// Store generated Schema in the file
PhpFileSchemaProvider::class => [
'mode' => PhpFileSchemaProvider::MODE_WRITE_ONLY,
'file' => '@runtime/schema.php',
],
FromConveyorSchemaProvider::class => [
'generators' => [
Cycle\Schema\Generator\SyncTables::class, // sync table changes to database
],
],
],

@samdark samdark added the status:ready for adoption Feel free to implement this issue. label Mar 13, 2023
@vjik
Copy link
Member

vjik commented Oct 17, 2023

Not actual

@vjik vjik closed this as completed Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue.
Projects
None yet
Development

No branches or pull requests

3 participants