Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Commit

Permalink
Merge pull request #417 from y-yagi/remove_comments
Browse files Browse the repository at this point in the history
remove unmaintained comments
  • Loading branch information
y-yagi committed Sep 10, 2017
2 parents 4b59169 + a4660e5 commit 15d42d2
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 130 deletions.
12 changes: 0 additions & 12 deletions app/models/photo_service_user_info.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
# == Schema Information
#
# Table name: photo_service_user_infos
#
# id :integer not null, primary key
# user_id :integer
# service_type :integer not null
# photo_service_user_id :string not null
# created_at :datetime not null
# updated_at :datetime not null
#

class PhotoServiceUserInfo < ApplicationRecord
belongs_to :user
has_many :travel_photos, dependent: :destroy
Expand Down
18 changes: 0 additions & 18 deletions app/models/place.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
# == Schema Information
#
# Table name: places
#
# id :integer not null, primary key
# name :string not null
# address :string not null
# memo :text
# latitude :float
# longitude :float
# urls :string is an Array
# user_id :integer not null
# status :integer default(0)
# created_at :datetime not null
# updated_at :datetime not null
# tags :string is an Array
#

class Place < ApplicationRecord
include Api::Place
include Recorder
Expand Down
9 changes: 0 additions & 9 deletions app/models/places_station.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
# == Schema Information
#
# Table name: places_stations
#
# place_id :integer not null
# station_id :integer not null
# distance :string
#

class PlacesStation < ApplicationRecord
belongs_to :place
belongs_to :station
Expand Down
10 changes: 0 additions & 10 deletions app/models/route.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
# == Schema Information
#
# Table name: routes
#
# id :integer not null, primary key
# detail :text
# created_at :datetime not null
# updated_at :datetime not null
#

class Route < ApplicationRecord
include Api::Route

Expand Down
16 changes: 0 additions & 16 deletions app/models/schedule.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
# == Schema Information
#
# Table name: schedules
#
# id :integer not null, primary key
# memo :text
# start_time :time
# end_time :time
# travel_date_id :integer not null
# place_id :integer not null
# route_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# attachment_file_id :string
#

class Schedule < ApplicationRecord
include Api::Schedule

Expand Down
13 changes: 0 additions & 13 deletions app/models/station.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,2 @@
# == Schema Information
#
# Table name: stations
#
# id :integer not null, primary key
# name :string
# line :string
# latitude :float
# longitude :float
# created_at :datetime not null
# updated_at :datetime not null
#

class Station < ApplicationRecord
end
15 changes: 0 additions & 15 deletions app/models/travel.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
# == Schema Information
#
# Table name: travels
#
# id :integer not null, primary key
# name :string not null
# memo :text
# start_date :date
# end_date :date
# owner_id :integer not null
# members :integer is an Array
# created_at :datetime not null
# updated_at :datetime not null
#

class Travel < ApplicationRecord
include Api::Travel
include Recorder
Expand Down
11 changes: 0 additions & 11 deletions app/models/travel_date.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
# == Schema Information
#
# Table name: travel_dates
#
# id :integer not null, primary key
# date :date not null
# travel_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
#

class TravelDate < ApplicationRecord
include Api::TravelDate

Expand Down
13 changes: 0 additions & 13 deletions app/models/travel_photo.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# == Schema Information
#
# Table name: travel_photos
#
# id :integer not null, primary key
# name :string not null
# travel_id :integer
# photo_service_user_info_id :integer
# photo_service_album_id :string
# created_at :datetime not null
# updated_at :datetime not null
#

class TravelPhoto < ApplicationRecord
belongs_to :travel
belongs_to :photo_service_user_info
Expand Down
13 changes: 0 additions & 13 deletions app/models/user.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# == Schema Information
#
# Table name: users
#
# id :integer not null, primary key
# uid :string not null
# provider :string not null
# name :string not null
# email :string not null
# created_at :datetime not null
# updated_at :datetime not null
#

class User < ApplicationRecord
include Api::User

Expand Down

0 comments on commit 15d42d2

Please sign in to comment.