ff-stream-web

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

UserLogin.js (551B)


      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 DataType from 'sequelize';
     11 import Model from '../sequelize';
     12 
     13 const UserLogin = Model.define('UserLogin', {
     14 
     15   name: {
     16     type: DataType.STRING(50),
     17     primaryKey: true,
     18   },
     19 
     20   key: {
     21     type: DataType.STRING(100),
     22     primaryKey: true,
     23   },
     24 
     25 });
     26 
     27 export default UserLogin;