   uuid char(36) NOT NULL
 );
 
-drop table if exists estateban;
 CREATE TABLE estateban (
   EstateID int(10) NOT NULL,
   bannedUUID varchar(36) NOT NULL,

  bannedNameMask varchar(64) default NULL
);

drop table if exists regionsettings;
CREATE TABLE regionsettings (
  regionUUID char(36) NOT NULL,
  block_terraform int(11) NOT NULL,

BEGIN TRANSACTION;

CREATE TABLE estate_groups (
  EstateID int(10) NOT NULL,
  uuid char(36) NOT NULL
);

CREATE TABLE estate_managers (
  EstateID int(10) NOT NULL,
  uuid char(36) NOT NULL
);

CREATE TABLE estate_map (
  RegionID char(36) NOT NULL default '00000000-0000-0000-0000-000000000000',
  EstateID int(11) NOT NULL
);

CREATE TABLE estate_settings (
  EstateID INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
  EstateName varchar(64) default NULL,
