ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

sequelize.js (465B)


      1 /**
      2  * React Starter Kit (https://www.reactstarterkit.com/)
      3  *
      4  * Copyright © 2014-present Kriasoft, LLC. All rights reserved.
      5  *
      6  * This source code is licensed under the MIT license found in the
      7  * LICENSE.txt file in the root directory of this source tree.
      8  */
      9 
     10 import Sequelize from 'sequelize';
     11 import { databaseUrl } from '../config';
     12 
     13 const sequelize = new Sequelize(databaseUrl, {
     14   define: {
     15     freezeTableName: true,
     16   },
     17 });
     18 
     19 export default sequelize;