1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-19 03:29:37 +02:00

Bookmarks controller

This commit is contained in:
unknown 2021-05-23 17:18:04 +02:00
parent 100f274d96
commit 27250dc850
7 changed files with 118 additions and 7 deletions

View file

@ -19,6 +19,8 @@ const App = sequelize.define('App', {
type: DataTypes.BOOLEAN,
defaultValue: false
}
}, {
tableName: 'apps'
});
module.exports = App;

View file

@ -20,7 +20,7 @@ const Config = sequelize.define('Config', {
defaultValue: false
}
}, {
freezeTableName: true
tableName: 'config'
});
module.exports = Config;

View file

@ -9,7 +9,7 @@ const Weather = sequelize.define('Weather', {
conditionText: DataTypes.TEXT,
conditionCode: DataTypes.INTEGER
}, {
freezeTableName: true
tableName: 'weather'
});
module.exports = Weather;