Skip to content

Instantly share code, notes, and snippets.

View andresbejar's full-sized avatar

Andres Bejarano andresbejar

  • San Francisco, CA
View GitHub Profile
@andresbejar
andresbejar / identity_tables_oracle.sql
Created May 9, 2016 05:47
Script for creating ASP.NET Identity 2.0 tables on OracleDB
CREATE TABLE "AspNetRoles" (
"Id" NVARCHAR2(128) NOT NULL,
"Name" NVARCHAR2(256) NOT NULL,
PRIMARY KEY ("Id")
);
CREATE TABLE "AspNetUserRoles" (
"UserId" NVARCHAR2(128) NOT NULL,
"RoleId" NVARCHAR2(128) NOT NULL,