Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Mar 9, 2024
1 parent 1820d08 commit 2bd25f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class CreateMissionControlServersProjects < ActiveRecord::Migration[7.1]
def change
create_table :mission_control_servers_projects do |t|
t.string :title
t.string :token, index: { unique: true }
t.string :token, index: {unique: true}

t.timestamps
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class CreateMissionControlServersServices < ActiveRecord::Migration[7.1]
def change
create_table :mission_control_servers_services do |t|
t.belongs_to :project, null: false, foreign_key: { to_table: :mission_control_servers_projects }
t.belongs_to :project, null: false, foreign_key: {to_table: :mission_control_servers_projects}
t.string :hostname, index: true, null: false
t.decimal :cpu, precision: 8, scale: 2
t.decimal :mem_used, precision: 8, scale: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class CreateMissionControlServersServiceSettings < ActiveRecord::Migration[7.1]
def change
create_table :mission_control_servers_service_settings do |t|
t.belongs_to :project, null: false, foreign_key: { to_table: :mission_control_servers_projects }
t.belongs_to :project, null: false, foreign_key: {to_table: :mission_control_servers_projects}
t.string :hostname
t.string :label

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class CreateMissionControlServersPublicProjects < ActiveRecord::Migration[7.1]
def change
create_table :mission_control_servers_public_projects do |t|
t.belongs_to :project, null: false, foreign_key: { to_table: :mission_control_servers_projects }
t.belongs_to :project, null: false, foreign_key: {to_table: :mission_control_servers_projects}
t.string :name
t.string :token

Expand Down

0 comments on commit 2bd25f0

Please sign in to comment.