Closed qumberali22 closed 5 years ago
What version of MySQL are you running?
This behavior is likely one of the following queries. Would you check each against your server?
@cainlevy My mysql version is 5.7.22 .Sorry I didn't understand what you are saying in your second comment.
Does SHOW CREATE VIEW intellectual_properties
return the correct schema, or the wrong schema?
I didn't check that.
@cainlevy This issue is no more.But I don't know how, I just drop my database and then recreate and migrate. Could you please tell me what this issue was?
Sorry, I haven't seen this before. If you have the issue again, please try the queries above so we can learn which one is behaving unexpectedly.
Here is the example of updated schema:
I don't know why schema is updating with default value 1 for all fields as you can see above, anybody can help?