PowerDesigner 15设置mysql主键自动增长及基数

PowerDesigner 15设置mysql主键自动增长及基数
1、双击标示图,打开table properties->columns,  如图点击图标Customize Columns and Filter(或直接用快捷键Ctrl+U)


2、选中identity

3、 设置基数,点击physical options ,选中auto_increment添加到右边,并在下方输入10000设置为基数,如图


4、返回columns,选中identity,如图


设置成功
生成sql语句如下:会多出一行
create table user
(
   id bigint not null auto_increment,
   username varchar(50),
   primary key (id)
)
auto_increment = 10000;
原文地址:https://www.cnblogs.com/Codenewbie/p/3642044.html