2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-03 17:21:20 +08:00
discourse/migrations
2025-10-01 21:18:28 +02:00
..
bin
config DEV: Add archetype index (#35113) 2025-10-01 13:28:53 +00:00
db DEV: Add archetype index (#35113) 2025-10-01 13:28:53 +00:00
docs
lib DEV: Query human users in "discourse" converter correctly (#35111) 2025-10-01 21:18:28 +02:00
scripts/benchmarks
spec DEV: Dynamically test all IntermediateDB entities (#34624) 2025-08-29 17:25:05 +02:00
.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