IF NOT EXISTS (SELECT name FROM master.dbo.sysdatabases WHERE name = N'britton_baclight_dev')
BEGIN
    CREATE DATABASE [britton_baclight_dev];
    CREATE DATABASE [britton_baclight_test];
END;