text: USE [master]
  GO
  
  /****** Object:  Database [Nightly]    Script Date: 7/24/2019 8:17:39 PM ******/
  CREATE DATABASE [Nightly]
   CONTAINMENT = NONE
   ON  PRIMARY 
  ( NAME = N'Nightly', FILENAME = N'/var/opt/mssql/data/Nightly.mdf' , SIZE = 8192KB , MAXSIZE = UNLIMITED, FILEGROWTH = 65536KB )
   LOG ON 
  ( NAME = N'Nightly_log', FILENAME = N'/var/opt/mssql/data/Nightly_log.ldf' , SIZE = 8192KB , MAXSIZE = 2048GB , FILEGROWTH = 65536KB )
  GO
  
  IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
  begin
  EXEC [Nightly].[dbo].[sp_fulltext_database] @action = 'enable'
  end
  GO
  
  ALTER DATABASE [Nightly] SET ANSI_NULL_DEFAULT OFF 
  GO
  
  ALTER DATABASE [Nightly] SET ANSI_NULLS OFF 
  GO
  
  ALTER DATABASE [Nightly] SET ANSI_PADDING OFF 
  GO
  
  ALTER DATABASE [Nightly] SET ANSI_WARNINGS OFF 
  GO
  
  ALTER DATABASE [Nightly] SET ARITHABORT OFF 
  GO
  
  ALTER DATABASE [Nightly] SET AUTO_CLOSE OFF 
  GO
  
  ALTER DATABASE [Nightly] SET AUTO_SHRINK OFF 
  GO
  
  ALTER DATABASE [Nightly] SET AUTO_UPDATE_STATISTICS ON 
  GO
  
  ALTER DATABASE [Nightly] SET CURSOR_CLOSE_ON_COMMIT OFF 
  GO
  
  ALTER DATABASE [Nightly] SET CURSOR_DEFAULT  GLOBAL 
  GO
  
  ALTER DATABASE [Nightly] SET CONCAT_NULL_YIELDS_NULL OFF 
  GO
  
  ALTER DATABASE [Nightly] SET NUMERIC_ROUNDABORT OFF 
  GO
  
  ALTER DATABASE [Nightly] SET QUOTED_IDENTIFIER OFF 
  GO
  
  ALTER DATABASE [Nightly] SET RECURSIVE_TRIGGERS OFF 
  GO
  
  ALTER DATABASE [Nightly] SET  DISABLE_BROKER 
  GO
  
  ALTER DATABASE [Nightly] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
  GO
  
  ALTER DATABASE [Nightly] SET DATE_CORRELATION_OPTIMIZATION OFF 
  GO
  
  ALTER DATABASE [Nightly] SET TRUSTWORTHY OFF 
  GO
  
  ALTER DATABASE [Nightly] SET ALLOW_SNAPSHOT_ISOLATION OFF 
  GO
  
  ALTER DATABASE [Nightly] SET PARAMETERIZATION SIMPLE 
  GO
  
  ALTER DATABASE [Nightly] SET READ_COMMITTED_SNAPSHOT OFF 
  GO
  
  ALTER DATABASE [Nightly] SET HONOR_BROKER_PRIORITY OFF 
  GO
  
  ALTER DATABASE [Nightly] SET RECOVERY FULL 
  GO
  
  ALTER DATABASE [Nightly] SET  MULTI_USER 
  GO
  
  ALTER DATABASE [Nightly] SET PAGE_VERIFY CHECKSUM  
  GO
  
  ALTER DATABASE [Nightly] SET DB_CHAINING OFF 
  GO
  
  ALTER DATABASE [Nightly] SET FILESTREAM( NON_TRANSACTED_ACCESS = OFF ) 
  GO
  
  ALTER DATABASE [Nightly] SET TARGET_RECOVERY_TIME = 60 SECONDS 
  GO
  
  ALTER DATABASE [Nightly] SET DELAYED_DURABILITY = DISABLED 
  GO
  
  ALTER DATABASE [Nightly] SET QUERY_STORE = OFF
  GO
  
  ALTER DATABASE [Nightly] SET  READ_WRITE 
  GO
  
  
  