-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Giving error when importing the file #4
Comments
@iampankajkumar which version of mysql are you using? Is this happening running the initial script? or adding values? If you are inserting data, you can put a timestamp in the updated field, as is required to be |
pankaj@DESKTOP-ELG78SB:~$ mysql --version Please help me to write the query to create table. |
@iampankajkumar the error is on the
all the ocurrences. If you are using a framework to use the template, you will find some shortcuts to fill out those fields for you. if not, you could initialize it by yourself on the database table definition[1]. [1] https://dev.mysql.com/doc/refman/5.5/en/timestamp-initialization.html |
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'time zone not null,
updated_at timestamp with time zone not null,
The text was updated successfully, but these errors were encountered: