mirror of
https://github.com/farcasclaudiu/myfriendsaround.git
synced 2026-06-29 09:01:55 +03:00
Added tag tag1 for changeset 4c285537b335
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
|
||||
-- --------------------------------------------------
|
||||
-- Entity Designer DDL Script for SQL Server 2005, 2008, and Azure
|
||||
-- --------------------------------------------------
|
||||
-- Date Created: 03/14/2011 17:28:59
|
||||
-- Generated from EDMX file: D:\Projects\MyFriendsAround\MyFriendsAround.Data\MyFriendsModel.edmx
|
||||
-- --------------------------------------------------
|
||||
|
||||
SET QUOTED_IDENTIFIER OFF;
|
||||
GO
|
||||
USE [MyFriends];
|
||||
GO
|
||||
IF SCHEMA_ID(N'dbo') IS NULL EXECUTE(N'CREATE SCHEMA [dbo]');
|
||||
GO
|
||||
|
||||
-- --------------------------------------------------
|
||||
-- Dropping existing FOREIGN KEY constraints
|
||||
-- --------------------------------------------------
|
||||
|
||||
|
||||
-- --------------------------------------------------
|
||||
-- Dropping existing tables
|
||||
-- --------------------------------------------------
|
||||
|
||||
|
||||
-- --------------------------------------------------
|
||||
-- Creating all tables
|
||||
-- --------------------------------------------------
|
||||
|
||||
-- Creating table 'Friends'
|
||||
CREATE TABLE [dbo].[Friends] (
|
||||
[Id] nvarchar(max) NOT NULL,
|
||||
[FriendName] nvarchar(max) NOT NULL,
|
||||
[FriendImageUrl] nvarchar(max) NOT NULL,
|
||||
[LocationStr] nvarchar(max) NOT NULL
|
||||
);
|
||||
GO
|
||||
|
||||
-- --------------------------------------------------
|
||||
-- Creating all PRIMARY KEY constraints
|
||||
-- --------------------------------------------------
|
||||
|
||||
-- Creating primary key on [Id] in table 'Friends'
|
||||
ALTER TABLE [dbo].[Friends]
|
||||
ADD CONSTRAINT [PK_Friends]
|
||||
PRIMARY KEY CLUSTERED ([Id] ASC);
|
||||
GO
|
||||
|
||||
-- --------------------------------------------------
|
||||
-- Creating all FOREIGN KEY constraints
|
||||
-- --------------------------------------------------
|
||||
|
||||
-- --------------------------------------------------
|
||||
-- Script has ended
|
||||
-- --------------------------------------------------
|
||||
Reference in New Issue
Block a user