Updated JQuery; Added resize sensor library; Updated the admin code (prior to changing gears to use Meteor).

This commit is contained in:
Wynne Crisman
2016-12-28 11:13:44 -08:00
parent 801c0507e5
commit 00f2be30ce
58 changed files with 29553 additions and 252 deletions

View File

@@ -0,0 +1,41 @@
'use strict';
module.exports = {
up: function (query, Sequelize) {
var DataTypes = Sequelize; //Allow for more cut and paste :)
return query.createTable('VenueType', {
id: {
type: DataTypes.INTEGER,
primaryKey: true,
allowNull: false,
autoIncrement: true
},
name: {
type: DataTypes.STRING,
allowNull: false,
unique: true
},
createdAt: {
type: DataTypes.DATE,
allowNull: false
},
updatedAt: {
type: DataTypes.DATE,
allowNull: false
},
deletedAt: {
type: DataTypes.DATE,
allowNull: true
}
}, {
charset: 'utf8',
timestamps: true,
paranoid: true
});
},
down: function (query, Sequelize) {
return query.dropTable('VenueType');
}
};