mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 17:57:36 +08:00
|
Some checks failed
Tests / themes system (push) Has been cancelled
Licenses / run (push) Has been cancelled
Linting / run (push) Has been cancelled
Migration Tests / Tests (push) Has been cancelled
Publish Assets / publish-assets (push) Has been cancelled
Tests / core backend (push) Has been cancelled
Tests / plugins backend (push) Has been cancelled
Tests / core frontend (Chrome) (push) Has been cancelled
Tests / plugins frontend (push) Has been cancelled
Tests / themes frontend (push) Has been cancelled
Tests / core system (push) Has been cancelled
Tests / plugins system (push) Has been cancelled
Tests / core frontend (Firefox ESR) (push) Has been cancelled
Tests / core frontend (Firefox Evergreen) (push) Has been cancelled
Tests / chat system (push) Has been cancelled
Tests / merge (push) Has been cancelled
Support newly added column on the `user_fields` core table |
||
|---|---|---|
| .. | ||
| bin | ||
| config | ||
| db | ||
| docs | ||
| lib | ||
| scripts/benchmarks | ||
| spec | ||
| .gitignore | ||
| .rubocop.yml | ||
| migrations.rb | ||
| README.md | ||
Migrations Tooling
Command line interface
./bin/cli help
Converters
Public converters are stored in lib/converters/.
If you need to run a private converter, put its code into a subdirectory of private/converters/
Development
Installing gems
bundle config set --local with migrations
bundle install
Updating gems
bundle update --group migrations
Running tests
You need to execute rspec in the root of the project.
bin/rspec --default-path migrations/spec