Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CAP
Commits
c1c4a2bf
Commit
c1c4a2bf
authored
Jul 14, 2017
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create new migrations files.
parent
ceee751e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
20170714102709_InitializeDB.Designer.cs
...rkCore/Migrations/20170714102709_InitializeDB.Designer.cs
+6
-5
20170714102709_InitializeDB.cs
...tyFrameworkCore/Migrations/20170714102709_InitializeDB.cs
+2
-2
CapDbContextModelSnapshot.cs
...tityFrameworkCore/Migrations/CapDbContextModelSnapshot.cs
+5
-4
No files found.
src/DotNetCore.CAP.EntityFrameworkCore/Migrations/2017071
1154104
_InitializeDB.Designer.cs
→
src/DotNetCore.CAP.EntityFrameworkCore/Migrations/2017071
4102709
_InitializeDB.Designer.cs
View file @
c1c4a2bf
...
...
@@ -4,11 +4,12 @@ using Microsoft.EntityFrameworkCore.Infrastructure;
using
Microsoft.EntityFrameworkCore.Metadata
;
using
Microsoft.EntityFrameworkCore.Migrations
;
using
DotNetCore.CAP.EntityFrameworkCore
;
using
DotNetCore.CAP.Models
;
namespace
DotNetCore.CAP.EntityFrameworkCore.Migrations
{
[
DbContext
(
typeof
(
CapDbContext
))]
[
Migration
(
"2017071
1154104
_InitializeDB"
)]
[
Migration
(
"2017071
4102709
_InitializeDB"
)]
partial
class
InitializeDB
{
protected
override
void
BuildTargetModel
(
ModelBuilder
modelBuilder
)
...
...
@@ -41,12 +42,12 @@ namespace DotNetCore.CAP.EntityFrameworkCore.Migrations
b
.
Property
<
string
>(
"Content"
);
b
.
Property
<
DateTime
?>(
"ExpiresAt"
);
b
.
Property
<
string
>(
"Group"
);
b
.
Property
<
string
>(
"KeyName"
);
b
.
Property
<
DateTime
?>(
"LastRun"
);
b
.
Property
<
int
>(
"Retries"
);
b
.
Property
<
string
>(
"StatusName"
)
...
...
@@ -69,9 +70,9 @@ namespace DotNetCore.CAP.EntityFrameworkCore.Migrations
b
.
Property
<
string
>(
"Content"
);
b
.
Property
<
string
>(
"KeyName
"
);
b
.
Property
<
DateTime
?>(
"ExpiresAt
"
);
b
.
Property
<
DateTime
?>(
"LastRun
"
);
b
.
Property
<
string
>(
"KeyName
"
);
b
.
Property
<
int
>(
"Retries"
);
...
...
src/DotNetCore.CAP.EntityFrameworkCore/Migrations/2017071
1154104
_InitializeDB.cs
→
src/DotNetCore.CAP.EntityFrameworkCore/Migrations/2017071
4102709
_InitializeDB.cs
View file @
c1c4a2bf
...
...
@@ -35,9 +35,9 @@ namespace DotNetCore.CAP.EntityFrameworkCore.Migrations
Id
=
table
.
Column
<
string
>(
nullable
:
false
),
Added
=
table
.
Column
<
DateTime
>(
nullable
:
false
),
Content
=
table
.
Column
<
string
>(
nullable
:
true
),
ExpiresAt
=
table
.
Column
<
DateTime
>(
nullable
:
true
),
Group
=
table
.
Column
<
string
>(
nullable
:
true
),
KeyName
=
table
.
Column
<
string
>(
nullable
:
true
),
LastRun
=
table
.
Column
<
DateTime
>(
nullable
:
true
),
Retries
=
table
.
Column
<
int
>(
nullable
:
false
),
StatusName
=
table
.
Column
<
string
>(
maxLength
:
50
,
nullable
:
false
)
},
...
...
@@ -54,8 +54,8 @@ namespace DotNetCore.CAP.EntityFrameworkCore.Migrations
Id
=
table
.
Column
<
string
>(
nullable
:
false
),
Added
=
table
.
Column
<
DateTime
>(
nullable
:
false
),
Content
=
table
.
Column
<
string
>(
nullable
:
true
),
ExpiresAt
=
table
.
Column
<
DateTime
>(
nullable
:
true
),
KeyName
=
table
.
Column
<
string
>(
nullable
:
true
),
LastRun
=
table
.
Column
<
DateTime
>(
nullable
:
true
),
Retries
=
table
.
Column
<
int
>(
nullable
:
false
),
StatusName
=
table
.
Column
<
string
>(
maxLength
:
50
,
nullable
:
false
)
},
...
...
src/DotNetCore.CAP.EntityFrameworkCore/Migrations/CapDbContextModelSnapshot.cs
View file @
c1c4a2bf
...
...
@@ -4,6 +4,7 @@ using Microsoft.EntityFrameworkCore.Infrastructure;
using
Microsoft.EntityFrameworkCore.Metadata
;
using
Microsoft.EntityFrameworkCore.Migrations
;
using
DotNetCore.CAP.EntityFrameworkCore
;
using
DotNetCore.CAP.Models
;
namespace
DotNetCore.CAP.EntityFrameworkCore.Migrations
{
...
...
@@ -40,12 +41,12 @@ namespace DotNetCore.CAP.EntityFrameworkCore.Migrations
b
.
Property
<
string
>(
"Content"
);
b
.
Property
<
DateTime
?>(
"ExpiresAt"
);
b
.
Property
<
string
>(
"Group"
);
b
.
Property
<
string
>(
"KeyName"
);
b
.
Property
<
DateTime
?>(
"LastRun"
);
b
.
Property
<
int
>(
"Retries"
);
b
.
Property
<
string
>(
"StatusName"
)
...
...
@@ -68,9 +69,9 @@ namespace DotNetCore.CAP.EntityFrameworkCore.Migrations
b
.
Property
<
string
>(
"Content"
);
b
.
Property
<
string
>(
"KeyName
"
);
b
.
Property
<
DateTime
?>(
"ExpiresAt
"
);
b
.
Property
<
DateTime
?>(
"LastRun
"
);
b
.
Property
<
string
>(
"KeyName
"
);
b
.
Property
<
int
>(
"Retries"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment