Merge branch 'alima' into dev
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
const Sequelize = require("sequelize");
|
||||
const sequelize = require("../../config/sequelize.conf");
|
||||
|
||||
class Ubicacion extends Sequelize.Model {}
|
||||
Ubicacion.init({
|
||||
idUbicacion: {
|
||||
type: Sequelize.INTEGER,
|
||||
primaryKey: true,
|
||||
autoIncrement: true,
|
||||
allowNull: false,
|
||||
},
|
||||
ubicacion: {
|
||||
type: Sequelize.CHAR,
|
||||
allowNull: false,
|
||||
// unique: true
|
||||
},
|
||||
}, {
|
||||
sequelize,
|
||||
tableName: "ubicacion",
|
||||
});
|
||||
|
||||
module.exports = Ubicacion;
|
||||
Reference in New Issue
Block a user