/**
 * React Starter Kit (https://www.reactstarterkit.com/)
 *
 * Copyright © 2014-present Kriasoft, LLC. All rights reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.txt file in the root directory of this source tree.
 */

import DataType from 'sequelize';
import Model from '../sequelize';

const UserClaim = Model.define('UserClaim', {

  type: {
    type: DataType.STRING,
  },

  value: {
    type: DataType.STRING,
  },

});

export default UserClaim;

@@ -1,333 +1,33 @@
-/**%0A * React Starter Kit (https://www.reactstarterkit.com/)%0A *%0A * Copyright %C2%A9 2014-present Kriasoft, LLC. All rights reserved.%0A *%0A * This source code is licensed under the MIT license found in the%0A * LICENSE.txt file in the root directory of this source tree.%0A */%0A%0Aimport DataType from 'sequelize';%0Aimport Model from '../sequeliz
+import mongoose from 'mongoos
 e';%0A
@@ -49,20 +49,22 @@
 m = 
-Model.define
+mongoose.model
 ('Us
@@ -77,11 +77,11 @@
 m', 
+(
 %7B%0A
-%0A
   ty
@@ -89,42 +89,25 @@
 e: %7B
-%0A   
  type: 
-DataType.STRING,%0A 
+String
  %7D,%0A
-%0A
   va
@@ -116,43 +116,27 @@
 e: %7B
-%0A   
  type: 
-DataType.STRING,%0A 
+String
  %7D,%0A
-%0A
 %7D
+)
 );%0A%0A

Add Working UserClaim Model