init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
class CreateServices < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :services do |t|
|
||||
t.string :name
|
||||
t.string :subdomain
|
||||
t.string :port
|
||||
t.string :url_path
|
||||
t.integer :position
|
||||
|
||||
t.belongs_to :machine
|
||||
t.belongs_to :service_type
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user