
drop table rooms if exists;

create table rooms (id integer identity primary key,
                    roomName varchar (255) not null,
                    floor varchar (255),
                    yCord integer,
                    xCord integer



                    );

create table devices (id integer primary key,
                      ROOM_ID integer,
                      deviceName varchar (255) not null,
                      picture varchar (255),
                      startAddress integer,
                      DTYPE varchar (255)

                      );



