You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							34 lines
						
					
					
						
							819 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							34 lines
						
					
					
						
							819 B
						
					
					
				| /* eslint-disable*/ | |
| 'use strict'; | |
| 
 | |
| module.exports = dc => { | |
|    const DataTypes = dc.ORM; | |
|    const sequelize = dc.orm; | |
|    const CameraAbility = sequelize.define("cameraAbility", { | |
|       id: { | |
|          type: DataTypes.INTEGER, | |
|          allowNull: false, | |
|          defaultValue: null, | |
|          comment: null, | |
|          primaryKey: true, | |
|          field: "id", | |
|          autoIncrement: false, | |
|          unique: "camera_ability_id_uindex" | |
|       }, | |
|       ability: { | |
|          type: DataTypes.STRING, | |
|          allowNull: false, | |
|          defaultValue: null, | |
|          comment: null, | |
|          primaryKey: false, | |
|          field: "ability", | |
|          autoIncrement: false | |
|       } | |
|    }, { | |
|       tableName: "camera_ability", | |
|       comment: "", | |
|       indexes: [] | |
|    }); | |
|    dc.models.CameraAbility = CameraAbility; | |
|    return CameraAbility; | |
| }; |