📄 create_sybaseanywhere.sql
字号:
drop table system_datagocreate table system_data ( id bigint not null, version varchar(20) not null, creationDate datetime not null)gocreate unique index system_data_pk on system_data(id)godrop table seedsgocreate table seeds ( name varchar(20) not null, seed bigint not null)gocreate unique index seeds_pk on seeds(name)godrop table destinationsgocreate table destinations ( name varchar(255) not null, isQueue int not null, destinationId bigint not null)gocreate unique index destinations_pk on destinations(name)godrop table messagesgocreate table messages ( messageId varchar(64) not null, destinationId bigint not null, priority int, createTime bigint not null, expiryTime bigint, processed int, messageBlob image not null)gocreate index messages_pk on messages(messageId)godrop table message_handlesgocreate table message_handles ( messageId varchar(64) not null, destinationId bigint not null, consumerId bigint NOT NULL, priority int, acceptedTime bigint not null, sequenceNumber bigint, expiryTime bigint, delivered int)gocreate index message_handles_pk on message_handles(messageId)godrop table consumersgocreate table consumers ( name varchar(255) not null, destinationId bigint not null, consumerId bigint not null, created bigint not null)gocreate unique index consumers_pk on consumers(name, destinationId)godrop table usersgocreate table users ( username varchar(50) not null, password varchar(50) not null)gocreate unique index users_pk on users(username)go
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -