jansmolders86 / mediacenterjs

A HTML/CSS/Javascript (NodeJS) based Media center
http://mediacenterjs.com
1.29k stars 243 forks source link

Fix for #156 #166

Closed th3l0g4n closed 9 years ago

th3l0g4n commented 9 years ago

This should fix the DB Error on first startup of the server. The Problem is, that the "year" column is already defined in the movies model. When applying the migrations, sequelize blindly tries to add that already existing column to the Movies table.

Maybe the migration script can also be removed as the column is defined in model.

jansmolders86 commented 9 years ago

@Jon889 @th3l0g4n, I kind of lost track of your discussion guys. Can this be merged or discarded? Thanks! :)

th3l0g4n commented 9 years ago

Hey Jan, this was an alternative approach to the one Jon introduced, so this can actually be closed. We kinda worked in the same issue at the same time :/

Jon889 commented 9 years ago

I think this can be discarded?

jansmolders86 commented 9 years ago

Thanks guys! :) :+1: