mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 20:43:01 +03:00
1ad7a91f4d
refs #6301 - In the migration folder, commands.js changed to builder.js to resolve conflict with the 'commands' inside data/utils/clients/. - a new data/schema/ folder has been added to hold all the code related to the database schema - data/utils/clients have been moved to data/schema/clients - data/utils/index.js has become data/schema/commands.js - data/schema.js has been split, the definition of the DB schema stays put, the additional checks have moved to data/schema/checks.js - data/validation/index.js has become data/schema/versioning.js - data/fixtures has moved to data/migration/fixtures - data/default-settings.json has moved to data/schema/default-settings.json
12 lines
402 B
JavaScript
12 lines
402 B
JavaScript
var schema = require('./schema'),
|
|
checks = require('./checks'),
|
|
commands = require('./commands'),
|
|
versioning = require('./versioning'),
|
|
defaultSettings = require('./default-settings');
|
|
|
|
module.exports.tables = schema;
|
|
module.exports.checks = checks;
|
|
module.exports.commands = commands;
|
|
module.exports.versioning = versioning;
|
|
module.exports.defaultSettings = defaultSettings;
|