Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

How to stop drop and recreate table in expressjs #1396

Closed
yoyeung opened this Issue · 2 comments

2 participants

@yoyeung

I base on your example.
I and "sync()" function after model create but i cannot stop the drop and recreate function.
How can i do?

@mickhansen
Owner

What do you mean stop? Sync will attempt to create the tables, it will only drop the tables first if you use force: true though.

If you don't need sync, don't use sync :)

@yoyeung

Thanks a lot.

@yoyeung yoyeung closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.