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

Remove old config file and improve readme #759

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .stickler.yml

This file was deleted.

16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ bin/cake plugin load Migrations
```

Or you can manually add the loading statement in the **src/Application.php** file of your application:

```php
public function bootstrap(): void
{
Expand All @@ -37,7 +38,20 @@ public function bootstrap(): void
}
```

Additionally, you will need to configure the ``default`` database configuration in your **config/app.php** file.
### Enabling the builtin backend

In a future release, migrations will be switching to a new backend based on the CakePHP ORM. We're aiming
to be compatible with as many existing migrations as possible, and could use your feedback. Enable the
new backend with:

```php
// in app/config/app_local.php
$config = [
// Other configuration
'Migrations' => ['backend' => 'builtin'],
];

```

## Documentation

Expand Down
Loading