Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
Ygopro Arena Revive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Ygopro Arena Revive
Commits
092fadcd
Commit
092fadcd
authored
Feb 21, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename all entites to original name
parent
9acd774c
Pipeline
#2466
passed with stages
in 39 seconds
Changes
4
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
76 additions
and
75 deletions
+76
-75
src/app.service.ts
src/app.service.ts
+58
-57
src/entities/mycard/Ads.ts
src/entities/mycard/Ads.ts
+6
-6
src/entities/mycard/BattleHistory.ts
src/entities/mycard/BattleHistory.ts
+7
-7
src/entities/mycard/VoteResult.ts
src/entities/mycard/VoteResult.ts
+5
-5
No files found.
src/app.service.ts
View file @
092fadcd
This diff is collapsed.
Click to expand it.
src/entities/mycard/Ads.ts
View file @
092fadcd
...
@@ -20,21 +20,21 @@ export class Ads {
...
@@ -20,21 +20,21 @@ export class Ads {
nullable
:
true
,
nullable
:
true
,
length
:
1000
,
length
:
1000
,
})
})
imgp
U
rl
:
string
;
imgp
_u
rl
:
string
;
@
Column
(
'
character varying
'
,
{
@
Column
(
'
character varying
'
,
{
name
:
'
imgm_url
'
,
name
:
'
imgm_url
'
,
nullable
:
true
,
nullable
:
true
,
length
:
1000
,
length
:
1000
,
})
})
imgm
U
rl
:
string
;
imgm
_u
rl
:
string
;
@
Column
(
'
character varying
'
,
{
@
Column
(
'
character varying
'
,
{
name
:
'
click_ref
'
,
name
:
'
click_ref
'
,
nullable
:
true
,
nullable
:
true
,
length
:
1000
,
length
:
1000
,
})
})
click
R
ef
:
string
;
click
_r
ef
:
string
;
@
Column
(
'
character varying
'
,
{
@
Column
(
'
character varying
'
,
{
name
:
'
click_url
'
,
name
:
'
click_url
'
,
...
@@ -48,7 +48,7 @@ export class Ads {
...
@@ -48,7 +48,7 @@ export class Ads {
nullable
:
true
,
nullable
:
true
,
length
:
1000
,
length
:
1000
,
})
})
impl
U
rl
:
string
;
impl
_u
rl
:
string
;
@
Column
(
'
integer
'
,
{
name
:
'
impl
'
,
nullable
:
true
,
default
:
0
})
@
Column
(
'
integer
'
,
{
name
:
'
impl
'
,
nullable
:
true
,
default
:
0
})
impl
:
number
;
impl
:
number
;
...
@@ -63,13 +63,13 @@ export class Ads {
...
@@ -63,13 +63,13 @@ export class Ads {
name
:
'
update_time
'
,
name
:
'
update_time
'
,
nullable
:
true
,
nullable
:
true
,
})
})
update
T
ime
:
Date
;
update
_t
ime
:
Date
;
@
Column
(
'
timestamp without time zone
'
,
{
@
Column
(
'
timestamp without time zone
'
,
{
name
:
'
create_time
'
,
name
:
'
create_time
'
,
nullable
:
true
,
nullable
:
true
,
})
})
create
T
ime
:
Date
;
create
_t
ime
:
Date
;
@
Column
(
'
character varying
'
,
{
@
Column
(
'
character varying
'
,
{
name
:
'
type
'
,
name
:
'
type
'
,
...
...
src/entities/mycard/BattleHistory.ts
View file @
092fadcd
import
{
Column
,
Entity
,
Index
,
PrimaryColumn
}
from
'
typeorm
'
;
import
{
Column
,
Entity
,
Index
,
PrimaryColumn
}
from
'
typeorm
'
;
@
Index
(
'
battle_history_end_time_index
'
,
[
'
end
T
ime
'
],
{})
@
Index
(
'
battle_history_end_time_index
'
,
[
'
end
_t
ime
'
],
{})
@
Index
(
'
battle_history_usernamea_index
'
,
[
'
usernamea
'
],
{})
@
Index
(
'
battle_history_usernamea_index
'
,
[
'
usernamea
'
],
{})
@
Index
(
'
battle_history_usernameb_index
'
,
[
'
usernameb
'
],
{})
@
Index
(
'
battle_history_usernameb_index
'
,
[
'
usernameb
'
],
{})
@
Entity
(
'
battle_history
'
,
{
schema
:
'
public
'
})
@
Entity
(
'
battle_history
'
,
{
schema
:
'
public
'
})
...
@@ -39,7 +39,7 @@ export class BattleHistory {
...
@@ -39,7 +39,7 @@ export class BattleHistory {
precision
:
53
,
precision
:
53
,
default
:
0
,
default
:
0
,
})
})
expa
E
x
:
number
;
expa
_e
x
:
number
;
@
Column
(
'
double precision
'
,
{
@
Column
(
'
double precision
'
,
{
name
:
'
expb_ex
'
,
name
:
'
expb_ex
'
,
...
@@ -47,7 +47,7 @@ export class BattleHistory {
...
@@ -47,7 +47,7 @@ export class BattleHistory {
precision
:
53
,
precision
:
53
,
default
:
0
,
default
:
0
,
})
})
expb
E
x
:
number
;
expb
_e
x
:
number
;
@
Column
(
'
double precision
'
,
{
@
Column
(
'
double precision
'
,
{
name
:
'
pta
'
,
name
:
'
pta
'
,
...
@@ -71,7 +71,7 @@ export class BattleHistory {
...
@@ -71,7 +71,7 @@ export class BattleHistory {
precision
:
53
,
precision
:
53
,
default
:
0
,
default
:
0
,
})
})
pta
E
x
:
number
;
pta
_e
x
:
number
;
@
Column
(
'
double precision
'
,
{
@
Column
(
'
double precision
'
,
{
name
:
'
ptb_ex
'
,
name
:
'
ptb_ex
'
,
...
@@ -79,18 +79,18 @@ export class BattleHistory {
...
@@ -79,18 +79,18 @@ export class BattleHistory {
precision
:
53
,
precision
:
53
,
default
:
0
,
default
:
0
,
})
})
ptb
E
x
:
number
;
ptb
_e
x
:
number
;
@
Column
(
'
character varying
'
,
{
name
:
'
type
'
,
length
:
100
})
@
Column
(
'
character varying
'
,
{
name
:
'
type
'
,
length
:
100
})
type
:
string
;
type
:
string
;
@
Column
(
'
timestamp without time zone
'
,
{
name
:
'
start_time
'
,
nullable
:
true
})
@
Column
(
'
timestamp without time zone
'
,
{
name
:
'
start_time
'
,
nullable
:
true
})
start
T
ime
:
Date
;
start
_t
ime
:
Date
;
@
PrimaryColumn
(
'
timestamp without time zone
'
,
{
@
PrimaryColumn
(
'
timestamp without time zone
'
,
{
name
:
'
end_time
'
,
name
:
'
end_time
'
,
})
})
end
T
ime
:
Date
;
end
_t
ime
:
Date
;
@
Column
(
'
text
'
,
{
name
:
'
winner
'
,
nullable
:
true
})
@
Column
(
'
text
'
,
{
name
:
'
winner
'
,
nullable
:
true
})
winner
:
string
;
winner
:
string
;
...
...
src/entities/mycard/VoteResult.ts
View file @
092fadcd
import
{
Column
,
Entity
,
Index
,
PrimaryGeneratedColumn
}
from
'
typeorm
'
;
import
{
Column
,
Entity
,
Index
,
PrimaryGeneratedColumn
}
from
'
typeorm
'
;
@
Index
(
'
unique_index
'
,
[
'
option
Id
'
,
'
userid
'
,
'
voteI
d
'
],
{
unique
:
true
})
@
Index
(
'
unique_index
'
,
[
'
option
_id
'
,
'
userid
'
,
'
vote_i
d
'
],
{
unique
:
true
})
@
Entity
(
'
vote_result
'
,
{
schema
:
'
public
'
})
@
Entity
(
'
vote_result
'
,
{
schema
:
'
public
'
})
export
class
VoteResult
{
export
class
VoteResult
{
@
PrimaryGeneratedColumn
({
type
:
'
integer
'
,
name
:
'
id
'
})
@
PrimaryGeneratedColumn
({
type
:
'
integer
'
,
name
:
'
id
'
})
id
:
number
;
id
:
number
;
@
Column
(
'
character varying
'
,
{
name
:
'
vote_id
'
,
unique
:
true
,
length
:
100
})
@
Column
(
'
character varying
'
,
{
name
:
'
vote_id
'
,
unique
:
true
,
length
:
100
})
vote
I
d
:
string
;
vote
_i
d
:
string
;
@
Column
(
'
character varying
'
,
{
name
:
'
option_id
'
,
unique
:
true
,
length
:
100
})
@
Column
(
'
character varying
'
,
{
name
:
'
option_id
'
,
unique
:
true
,
length
:
100
})
option
I
d
:
string
;
option
_i
d
:
string
;
@
Column
(
'
character varying
'
,
{
name
:
'
userid
'
,
unique
:
true
,
length
:
100
})
@
Column
(
'
character varying
'
,
{
name
:
'
userid
'
,
unique
:
true
,
length
:
100
})
userid
:
string
;
userid
:
string
;
@
Column
(
'
character varying
'
,
{
name
:
'
date_time
'
,
length
:
100
})
@
Column
(
'
character varying
'
,
{
name
:
'
date_time
'
,
length
:
100
})
date
T
ime
:
string
;
date
_t
ime
:
string
;
@
Column
(
'
timestamp without time zone
'
,
{
@
Column
(
'
timestamp without time zone
'
,
{
name
:
'
create_time
'
,
name
:
'
create_time
'
,
nullable
:
true
,
nullable
:
true
,
})
})
create
T
ime
:
Date
;
create
_t
ime
:
Date
;
}
}
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