Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nodemanager
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
Odysseus
nodemanager
Commits
de1cac6f
Commit
de1cac6f
authored
Mar 11, 2024
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update init.sql
parent
c8ba8b93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
init.sql
docker/mysql/init/init.sql
+3
-12
No files found.
docker/mysql/init/init.sql
View file @
de1cac6f
...
...
@@ -306,20 +306,11 @@ create table withdrawal_record
deleted
tinyint
default
0
null
comment
'逻辑删除'
);
-- type Whitelist struct {
-- ID int64 `orm:"column(id)" db:"id" json:"id" form:"id"`
-- Character string `orm:"column(character)" db:"character" json:"character" form:"character"`
-- NodeNum int64 `orm:"column(node_num)" db:"node_num" json:"node_num" form:"node_num"`
-- CreatedTime time.Time `orm:"column(created_time)" db:"created_time" json:"created_time" form:"created_time"`
-- UpdatedTime time.Time `orm:"column(updated_time)" db:"updated_time" json:"updated_time" form:"updated_time"`
-- Deleted int64 `orm:"column(deleted)" db:"deleted" json:"deleted" form:"deleted"`
-- }
create
table
whitelist
(
id
int
not
null
comment
'id'
id
int
auto_increment
primary
key
,
character
varchar
(
50
)
null
comment
'收益地址'
,
`character`
varchar
(
50
)
null
comment
'收益地址'
,
node_num
int
null
comment
'节点数量'
,
created_time
datetime
not
null
on
update
CURRENT_TIMESTAMP
comment
'创建时间'
,
updated_time
datetime
not
null
on
update
CURRENT_TIMESTAMP
comment
'更新时间'
,
...
...
@@ -572,5 +563,5 @@ values (11, 100, 3000, 20000, 0, 0, 12, '2024-02-02 11:47:23', '2024-02-02 11:4
(
54
,
100
,
5000
,
30000
,
0
,
0
,
55
,
'2024-03-07 08:54:34'
,
'2024-03-07 08:54:34'
,
0
),
(
55
,
300
,
10000
,
100000
,
0
,
0
,
56
,
'2024-03-07 08:59:55'
,
'2024-03-07 08:59:55'
,
0
);
insert
into
whitelist
(
id
,
character
,
node_num
,
created_time
,
updated_time
,
deleted
)
insert
into
whitelist
(
id
,
`character`
,
node_num
,
created_time
,
updated_time
,
deleted
)
values
(
1
,
"0x0Fb196385c8826e3806ebA2cA2cb78B26E08fEEe"
,
10
,
'2024-02-02 09:34:43'
,
'2024-02-02 09:34:43'
,
0
);
\ No newline at end of file
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