Permalink
Browse files

Added database script (SQL Server)

  • Loading branch information...
1 parent 61590e0 commit 3f3d3e1a05accdfab0cc7e0b04ccee8841f22c8e @markrendle committed May 30, 2012
Showing with 19 additions and 0 deletions.
  1. +19 −0 database.sql
View
@@ -0,0 +1,19 @@
+CREATE TABLE [dbo].[Signup](
+ [Id] [uniqueidentifier] ROWGUIDCOL NOT NULL,
+ [Email] [nvarchar](256) NOT NULL,
+ [Number] [int] IDENTITY(1,1) NOT NULL,
+ [CreatedAt] [datetime] NOT NULL,
+ CONSTRAINT [PK_Signup] PRIMARY KEY CLUSTERED
+(
+ [Id] ASC
+)
+
+CREATE TABLE [dbo].[Invitation](
+ [Id] [uniqueidentifier] ROWGUIDCOL NOT NULL,
+ [SignupId] [uniqueidentifier] NOT NULL,
+ [InvitedAt] [datetime] NOT NULL,
+ [InvitedBy] [nvarchar](40) NOT NULL,
+ CONSTRAINT [PK_Invitation] PRIMARY KEY CLUSTERED
+(
+ [Id] ASC
+)

0 comments on commit 3f3d3e1

Please sign in to comment.