17 lines
318 B
Ruby
17 lines
318 B
Ruby
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
|