mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-21 16:06:12 +08:00
* Splits the existing script into multiple classes * Adds command for generating IntermediateDB schema (`migrations/bin/cli schema generate`) * Changes the syntax of the IntermediateDB schema config * Adds validation for the schema config * It uses YAML schema aka JSON schema to validate the config file * It generates the SQL schema file and Ruby classes for storing data in the IntermediateDB |
||
|---|---|---|
| .. | ||
| validation | ||
| config_validator.rb | ||
| global_config.rb | ||
| loader.rb | ||
| model_writer.rb | ||
| table_writer.rb | ||