mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 11:44:44 +08:00
d286c1d5a1
* Moves existing files around. All essential scripts are in `migrations/bin`, and non-essential scripts like benchmarks are in `migrations/scripts` * Dependabot configuration for migrations-tooling (disabled for now) * Updates test configuration for migrations-tooling * Shorter configuration for intermediate DB for now. We will add the rest table by table. * Adds a couple of benchmark scripts * RSpec setup especially for migrations-tooling and the first tests * Adds sorting/formatting to the `generate_schema` script
23 lines
723 B
Markdown
23 lines
723 B
Markdown
## Gemfiles for migrations-tooling
|
|
|
|
This directory contains Gemfiles for the migration related tools.
|
|
|
|
Those tools use `bundler/inline`, so this isn't strictly needed. However, we use GitHub's Dependabot to keep the
|
|
dependencies up-to-date, and it requires a Gemfile to work. Also, it's easier to test the tools with a Gemfile.
|
|
|
|
Please add an entry in the `.github/workflows/dependabot.yml` file when you add a new Gemfile to enable Dependabot for
|
|
the Gemfile.
|
|
|
|
#### Example
|
|
|
|
```yaml
|
|
- package-ecosystem: "bundler"
|
|
directory: "migrations/config/gemfiles/convert"
|
|
schedule:
|
|
interval: "weekly"
|
|
day: "wednesday"
|
|
time: "10:00"
|
|
timezone: "Europe/Vienna"
|
|
versioning-strategy: "increase"
|
|
```
|