mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
57effd9585
refs https://github.com/TryGhost/Team/issues/1070 - stores values of custom theme settings - will be merged with full settings data parsed from themes for API output - will be cached and made available for lookup in themes to avoid db roundtrips - stores type of custom theme settings so we can coerce values and know if the type has changed when syncing - records will be synced with themes upon activation
10 lines
253 B
JavaScript
10 lines
253 B
JavaScript
const ghostBookshelf = require('./base');
|
|
|
|
const CustomThemeSetting = ghostBookshelf.Model.extend({
|
|
tableName: 'custom_theme_settings'
|
|
});
|
|
|
|
module.exports = {
|
|
CustomThemeSetting: ghostBookshelf.model('CustomThemeSetting', CustomThemeSetting)
|
|
};
|