mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-19 03:29:37 +02:00
Bookmarks controller
This commit is contained in:
parent
100f274d96
commit
27250dc850
7 changed files with 118 additions and 7 deletions
|
@ -19,6 +19,8 @@ const App = sequelize.define('App', {
|
|||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: false
|
||||
}
|
||||
}, {
|
||||
tableName: 'apps'
|
||||
});
|
||||
|
||||
module.exports = App;
|
|
@ -20,7 +20,7 @@ const Config = sequelize.define('Config', {
|
|||
defaultValue: false
|
||||
}
|
||||
}, {
|
||||
freezeTableName: true
|
||||
tableName: 'config'
|
||||
});
|
||||
|
||||
module.exports = Config;
|
|
@ -9,7 +9,7 @@ const Weather = sequelize.define('Weather', {
|
|||
conditionText: DataTypes.TEXT,
|
||||
conditionCode: DataTypes.INTEGER
|
||||
}, {
|
||||
freezeTableName: true
|
||||
tableName: 'weather'
|
||||
});
|
||||
|
||||
module.exports = Weather;
|
Loading…
Add table
Add a link
Reference in a new issue