Permalink
Browse files

Add MSSQL DDL

  • Loading branch information...
1 parent a16a711 commit 41bdc30fc1ef4332e8469ef0ce903f6b09967396 @frioux frioux committed with Nov 5, 2012
Showing with 11 additions and 0 deletions.
  1. +1 −0 Changes
  2. +10 −0 sql/mssql.sql
View
@@ -1,6 +1,7 @@
Revision history for {{$dist->name}}
{{$NEXT}}
+ Add MSSQL DDL
0.100111 2010-01-11 19:24:02 America/New_York
oops, previous release was missing a commit!
View
@@ -0,0 +1,10 @@
+CREATE TABLE [locks] (
+ [id] int NOT NULL IDENTITY (1, 1),
+ [lockstring] varchar(128) NOT NULL,
+ [created] datetime NOT NULL,
+ [expires] datetime NOT NULL,
+ [locked_by] text NOT NULL,
+ CONSTRAINT [PK_locks] PRIMARY KEY CLUSTERED ([id]),
+ CONSTRAINT [UC_locks] UNIQUE ([lockstring])
+);
+

0 comments on commit 41bdc30

Please sign in to comment.