Fix up importing assets

This commit is contained in:
Youngkyun
2017-10-22 15:30:44 +09:00
parent 08711ca80d
commit 3312f36cb8
48 changed files with 186 additions and 2608 deletions

View File

@@ -1,4 +1,4 @@
class DeviseCreateUsers < ActiveRecord::Migration
class DeviseCreateUsers < ActiveRecord::Migration[5.1]
def change
create_table :users do |t|
## Database authenticatable

View File

@@ -1,4 +1,4 @@
class CreateNodes < ActiveRecord::Migration
class CreateNodes < ActiveRecord::Migration[5.1]
def change
create_table :nodes do |t|
@@ -6,7 +6,7 @@ class CreateNodes < ActiveRecord::Migration
t.string :host_ip, unique: true
t.string :user_name
t.string :user_password
t.timestamps null: false
end
end

View File

@@ -1,4 +1,3 @@
# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
@@ -14,31 +13,30 @@
ActiveRecord::Schema.define(version: 20160920111650) do
create_table "nodes", force: :cascade do |t|
t.string "host_name"
t.string "host_ip"
t.string "user_name"
t.string "user_password"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "host_name"
t.string "host_ip"
t.string "user_name"
t.string "user_password"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "users", force: :cascade do |t|
t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false
t.string "username"
t.string "reset_password_token"
t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false
t.string "username"
t.string "reset_password_token"
t.datetime "reset_password_sent_at"
t.datetime "remember_created_at"
t.integer "sign_in_count", default: 0, null: false
t.integer "sign_in_count", default: 0, null: false
t.datetime "current_sign_in_at"
t.datetime "last_sign_in_at"
t.string "current_sign_in_ip"
t.string "last_sign_in_ip"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "current_sign_in_ip"
t.string "last_sign_in_ip"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
end
add_index "users", ["email"], name: "index_users_on_email", unique: true
add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
end