sql - Cannot add DATETIME columns to MySQL table -


i'm trying add 2 datetime columns user_accounts table.

i create columns in mysql workbench so: datetime(6)

what doing wrong?

remove size specifier (6) alter statement.

   alter table `chessmates`.`user_accounts`      change column `country` `country` text(25) not null ,     add column `created_at` datetime not null after `salt`,     add column `updated_at` datetime null default null after `created_at` 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -