myslq中插入时间当前时间

create table classic_movie_info(
    id int(10) primary key auto_increment not null,
    movie_name varchar(50),
    movie_type varchar(30),
    movie_mark float(2,1),
    movie_url varchar(50),
    movie_release_date int(4),
    create_time timestamp not null default current_timestamp, # 创建当前时间
    is_delete char(1) not null default '0'
);

 

posted on 2017-08-10 15:15  小明在线  阅读(151)  评论(0)    收藏  举报

导航