Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
node-stats
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
nazarf
node-stats
Commits
545fccef
Commit
545fccef
authored
Dec 12, 2019
by
nazarf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set base config
parent
61cab78a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
15 deletions
+7
-15
database.yml
config/database.yml
+3
-3
deploy.rb
config/deploy.rb
+2
-2
schema.rb
db/schema.rb
+2
-10
No files found.
config/database.yml
View file @
545fccef
...
...
@@ -7,19 +7,19 @@ default: &default
development
:
<<
:
*default
database
:
node_stats
database
:
my_node
username
:
devuser
password
:
devpassword
test
:
<<
:
*default
database
:
base_sites
_test
database
:
my_node
_test
username
:
devuser
password
:
devpassword
production
:
<<
:
*default
database
:
node_stats
database
:
my_node
username
:
spserviceuser
password
:
spservicepassword
...
...
config/deploy.rb
View file @
545fccef
...
...
@@ -2,9 +2,9 @@
lock
'3.7.2'
# DEPLOY
set
:application
,
'
node-statistic
'
set
:application
,
'
my_node
'
# set :deploy_to, '/var/www/amaox' # Default deploy_to directory is /var/www/my_app_name
set
:repo_url
,
'http://
svn.sp-service.com.ua/svnroot/svn/node-stats/trunk
'
set
:repo_url
,
'http://
deploy:zpxocivu73@git.sp-service.com.ua/nazarf/node-stats.git
'
# set :format, :pretty # Default value for :format is :pretty
# set :log_level, :debug # Default value for :log_level is :debug
# set :pty, true # Default value for :pty is false
...
...
db/schema.rb
View file @
545fccef
...
...
@@ -67,8 +67,8 @@ ActiveRecord::Schema.define(version: 20180925134855) do
create_table
"block_versions"
,
force: :cascade
do
|
t
|
t
.
integer
"account_id"
,
limit:
4
t
.
boolean
"active"
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
t
.
datetime
"created_at"
,
null:
false
t
.
datetime
"updated_at"
,
null:
false
end
add_index
"block_versions"
,
[
"account_id"
],
name:
"index_block_versions_on_account_id"
,
using: :btree
...
...
@@ -117,14 +117,6 @@ ActiveRecord::Schema.define(version: 20180925134855) do
t
.
datetime
"updated_at"
,
null:
false
end
create_table
"node_addresses"
,
force: :cascade
do
|
t
|
t
.
string
"address"
,
limit:
255
t
.
decimal
"amount"
,
precision:
12
,
scale:
8
,
default:
0.0
t
.
integer
"node_id"
,
limit:
4
t
.
datetime
"created_at"
,
null:
false
t
.
datetime
"updated_at"
,
null:
false
end
create_table
"nodes"
,
force: :cascade
do
|
t
|
t
.
string
"name"
,
limit:
255
t
.
string
"domain"
,
limit:
255
...
...
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