時(shí)間:2024-03-08 08:50作者:下載吧人氣:20
create table t_centerprises(
objectid bigint not null, /*唯一編號(hào)(6位行政區(qū)號(hào)+6位sn)*/
divid uuid not null, /*行政區(qū)唯一代碼*/
name text not null, /*企業(yè)名稱*/
address text not null, /*企業(yè)地址*/
post text, /*企業(yè)郵編*/
contacts text, /*聯(lián)系人*/
tel text, /*聯(lián)系電話*/
fax text, /*傳真*/
describe text, /*企業(yè)備注*/
date timestamp default now() not null, /*創(chuàng)建日期*/
constraint pk_centerprisess_objectid primary key (objectid),
constraint fk_centerprises_divid foreign key(divid) references ts_divisions(objectid) on delete cascade
);
create index idx_centerprises_divid on t_centerprises(divid);
網(wǎng)友評(píng)論