ALTER TABLE R5PROPERTYVALUES ADD COLUMN PRV_CHANGED nvarchar(15);

ALTER TABLE R5EVENTS ADD COLUMN EVT_LATITUDE numeric(24,6) NULL;
ALTER TABLE R5EVENTS ADD COLUMN EVT_LONGITUDE numeric(24,6) NULL;

ALTER TABLE R5EVENTS_EREC ADD COLUMN EVT_LATITUDE numeric(24,6) NULL;
ALTER TABLE R5EVENTS_EREC ADD COLUMN EVT_LONGITUDE numeric(24,6) NULL;

INSERT INTO R5APPSETTINGS (AST_NAME, AST_VALUE,AST_DEFAULT) VALUES ('DBVERSION','11201','0');

UPDATE R5APPSETTINGS SET AST_VALUE = '11201' WHERE AST_NAME='DBVERSION';
