Skip to content

Commit

Permalink
Renamed to database upgrader
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Hedgpeth committed Mar 8, 2015
1 parent b21b8bc commit 57ad092
Show file tree
Hide file tree
Showing 26 changed files with 16 additions and 15 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using log4net;
using Microsoft.SqlServer.Management.Common;

namespace SqlSchemaMannager
namespace DatabaseUpgrader
{
public class DatabaseUpgrader
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<ProjectGuid>{F6DD288D-8D93-49A3-8B79-02B40C46665E}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SqlSchemaMannager</RootNamespace>
<AssemblyName>SqlSchemaMannager</AssemblyName>
<RootNamespace>DatabaseUpgrader</RootNamespace>
<AssemblyName>DatabaseUpgrader</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
Expand Down Expand Up @@ -62,7 +62,7 @@
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
<None Include="SqlSchemaManager.exe.log4net">
<None Include="DatabaseUpgrader.exe.log4net">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</layout>
</appender>
<appender name="FileAppender" type="log4net.Appender.RollingFileAppender">
<file value="log/SqlSchemaManager.log" />
<file value="log/DatabaseUpgrader.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="7" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SqlSchemaMannager", "SqlSchemaMannager.csproj", "{F6DD288D-8D93-49A3-8B79-02B40C46665E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatabaseUpgrader", "DatabaseUpgrader.csproj", "{F6DD288D-8D93-49A3-8B79-02B40C46665E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion SqlSchemaMannager/Program.cs → Source/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ private static int Main(string[] args)
var result = Parser.Default.ParseArguments(args, options);
if (result)
{
var upgrader = new DatabaseUpgrader(options.ConnectionString, options.SoftwareVersion, options.SchemaDirectory);
var upgrader = new DatabaseUpgrader.DatabaseUpgrader(options.ConnectionString, options.SoftwareVersion, options.SchemaDirectory);
if (options.CheckIfUpgradeRequired)
{
Log.Info("Checking if an upgrade is even needed");
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SqlSchemaMannager")]
[assembly: AssemblyDescription("")]
using log4net.Config;

[assembly: AssemblyTitle("DatabaseUpgrader")]
[assembly: AssemblyDescription("upgrades a database")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("NCR Corporation")]
[assembly: AssemblyProduct("SqlSchemaMannager")]
[assembly: AssemblyCopyright("Copyright © NCR Corporation 2015")]
[assembly: AssemblyCompany("Michael Hedgpeth")]
[assembly: AssemblyProduct("Database Upgrader")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -33,4 +34,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: XmlConfigurator(ConfigFileExtension = "log4net", Watch = true)]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace SqlSchemaMannager
namespace DatabaseUpgrader
{
public class SchemaVersion
{
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 57ad092

Please sign in to comment.