Commit 545fccef authored by nazarf's avatar nazarf

set base config

parent 61cab78a
...@@ -7,19 +7,19 @@ default: &default ...@@ -7,19 +7,19 @@ default: &default
development: development:
<<: *default <<: *default
database: node_stats database: my_node
username: devuser username: devuser
password: devpassword password: devpassword
test: test:
<<: *default <<: *default
database: base_sites_test database: my_node_test
username: devuser username: devuser
password: devpassword password: devpassword
production: production:
<<: *default <<: *default
database: node_stats database: my_node
username: spserviceuser username: spserviceuser
password: spservicepassword password: spservicepassword
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
lock '3.7.2' lock '3.7.2'
# DEPLOY # 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 :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 :format, :pretty # Default value for :format is :pretty
# set :log_level, :debug # Default value for :log_level is :debug # set :log_level, :debug # Default value for :log_level is :debug
# set :pty, true # Default value for :pty is false # set :pty, true # Default value for :pty is false
......
...@@ -67,8 +67,8 @@ ActiveRecord::Schema.define(version: 20180925134855) do ...@@ -67,8 +67,8 @@ ActiveRecord::Schema.define(version: 20180925134855) do
create_table "block_versions", force: :cascade do |t| create_table "block_versions", force: :cascade do |t|
t.integer "account_id", limit: 4 t.integer "account_id", limit: 4
t.boolean "active" t.boolean "active"
t.datetime "created_at" t.datetime "created_at", null: false
t.datetime "updated_at" t.datetime "updated_at", null: false
end end
add_index "block_versions", ["account_id"], name: "index_block_versions_on_account_id", using: :btree 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 ...@@ -117,14 +117,6 @@ ActiveRecord::Schema.define(version: 20180925134855) do
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
end 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| create_table "nodes", force: :cascade do |t|
t.string "name", limit: 255 t.string "name", limit: 255
t.string "domain", limit: 255 t.string "domain", limit: 255
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment