CREATE SMALLFILE TABLESPACE "TMS_WORK" DATAFILE 'D:\APP\YFLIJIE\ORADATA\ORCL\MS_WORK' SIZE 100M LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO
create table PAMIRS_SCHEDULE_QUEUE
(
)
tablespace TMS_WORK
comment on table PAMIRS_SCHEDULE_QUEUE
comment on column PAMIRS_SCHEDULE_QUEUE.id
comment on column PAMIRS_SCHEDULE_QUEUE.task_type
comment on column PAMIRS_SCHEDULE_QUEUE.queue_id
comment on column PAMIRS_SCHEDULE_QUEUE.own_sign
comment on column PAMIRS_SCHEDULE_QUEUE.base_task_type
comment on column PAMIRS_SCHEDULE_QUEUE.cur_server
comment on column PAMIRS_SCHEDULE_QUEUE.req_server
comment on column PAMIRS_SCHEDULE_QUEUE.gmt_create
comment on column PAMIRS_SCHEDULE_QUEUE.gmt_modified
create unique index IND_PAMIRS_SCHEDULE_QUEUEID on PAMIRS_SCHEDULE_QUEUE (TASK_TYPE, QUEUE_ID, OWN_SIGN)
alter table PAMIRS_SCHEDULE_QUEUE
create table PAMIRS_SCHEDULE_SERVER
(
)
tablespace TMS_WORK
comment on table PAMIRS_SCHEDULE_SERVER
comment on column PAMIRS_SCHEDULE_SERVER.id
comment on column PAMIRS_SCHEDULE_SERVER.uuid
comment on column PAMIRS_SCHEDULE_SERVER.task_type