update
This commit is contained in:
14
db/migrate/20160920111650_create_nodes.rb
Normal file
14
db/migrate/20160920111650_create_nodes.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
class CreateNodes < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :nodes do |t|
|
||||
|
||||
t.string :host_name
|
||||
t.string :host_ip
|
||||
t.integer :host_port
|
||||
t.string :user_name
|
||||
t.string :user_password
|
||||
|
||||
t.timestamps null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user