You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
335 B
14 lines
335 B
create table if not exists point_device
|
|
(
|
|
id serial not null
|
|
constraint point_device_pk
|
|
primary key,
|
|
point_id integer not null,
|
|
device_id integer
|
|
);
|
|
|
|
comment on table point_device is '点位-设备关联表';
|
|
|
|
create unique index if not exists point_device_id_uindex
|
|
on point_device (id);
|
|
|
|
|