Cambiado postal_core -> postal_code
This commit is contained in:
parent
bd5e2b2c35
commit
31a1110ca6
@ -28,7 +28,7 @@ module.exports = function (sequelize, DataTypes) {
|
|||||||
state: {
|
state: {
|
||||||
type: DataTypes.STRING,
|
type: DataTypes.STRING,
|
||||||
},
|
},
|
||||||
postal_core: {
|
postal_code: {
|
||||||
type: DataTypes.STRING,
|
type: DataTypes.STRING,
|
||||||
},
|
},
|
||||||
accessibility: {
|
accessibility: {
|
||||||
@ -38,7 +38,8 @@ module.exports = function (sequelize, DataTypes) {
|
|||||||
type: DataTypes.INTEGER,
|
type: DataTypes.INTEGER,
|
||||||
allowNull: false,
|
allowNull: false,
|
||||||
defaultValue: 1,
|
defaultValue: 1,
|
||||||
},
|
},
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
tableName: 'venues',
|
tableName: 'venues',
|
||||||
freezeTableName: true,
|
freezeTableName: true,
|
||||||
|
|||||||
@ -8,7 +8,7 @@ const VenueInputType = Joi.object().keys({
|
|||||||
description: Joi.string().optional(),
|
description: Joi.string().optional(),
|
||||||
country: Joi.string().optional(),
|
country: Joi.string().optional(),
|
||||||
state: Joi.string().optional(),
|
state: Joi.string().optional(),
|
||||||
postal_core: Joi.string().optional(),
|
postal_code: Joi.string().optional(),
|
||||||
accessibility: Joi.string().optional()
|
accessibility: Joi.string().optional()
|
||||||
});
|
});
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -832,7 +832,7 @@ CREATE TABLE `venues` (
|
|||||||
`city` varchar(255) NOT NULL,
|
`city` varchar(255) NOT NULL,
|
||||||
`country` varchar(255) DEFAULT NULL,
|
`country` varchar(255) DEFAULT NULL,
|
||||||
`state` varchar(255) DEFAULT NULL,
|
`state` varchar(255) DEFAULT NULL,
|
||||||
`postal_core` varchar(255) DEFAULT NULL,
|
`postal_code` varchar(255) DEFAULT NULL,
|
||||||
`accessibility` varchar(255) DEFAULT NULL,
|
`accessibility` varchar(255) DEFAULT NULL,
|
||||||
`gmt` int(11) NOT NULL DEFAULT '1',
|
`gmt` int(11) NOT NULL DEFAULT '1',
|
||||||
`createdAt` datetime NOT NULL,
|
`createdAt` datetime NOT NULL,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user