Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Cheezburger Better Database Schema Manager
C#
branch: master

This branch is 6 commits behind cheezburger:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Cheezburger.SchemaManager.Tests
Cheezburger.SchemaManager
build
nuget
packages
.gitignore
Cheezburger.SchemaManager.nuspec
Cheezburger.SchemaManager.sln
Environment.ps1
LICENSE
build.ps1
committers.md
readme.md

readme.md

Cheezburger Better Database Schema Manager - Cheezburger BDSM

Cheezburger BDSM is a way to easily manage schema versioning and migrations.

Features

  • Schema Versioning
  • Simple Schema Description via XML
  • Use Custom SQL for Special Cases

Example XML Schema File

<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://schemas.icanhascheezburger.com/db" version="52">
  <tables>
    <table name="Category">
      <callback method="FillCategories" type="Mine.Utility.Schema.Populators, MineCore" />
      <columns>
        <column name="CategoryId" type="int" isIdentity="true" />
        <column name="CategoryName" type="varchar" length="50" nullable="true" />
        <column name="Rank" type="int" nullable="true"/>
        <column name="DisplayTemplateGallery" type="bit" default="0"/>
      </columns>
      <indexes>
        <index name="PK_Category" type="PrimaryKey" columns="CategoryId" />
      </indexes>
    </table>
  </tables>
</schema>
Something went wrong with that request. Please try again.