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
Post a Comment