init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class CreateMachines < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :machines do |t|
|
||||
t.string :name
|
||||
t.string :domain
|
||||
t.string :local_ip_octet
|
||||
t.string :tailscale_ip
|
||||
|
||||
t.belongs_to :local_network
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user