From 5a39c3cd07c13703dcea6f393f7bbdf89791c4e3 Mon Sep 17 00:00:00 2001 From: cblanc Date: Thu, 14 May 2015 17:29:16 +0100 Subject: [PATCH] Create new annotations for models --- app/models/article.rb | 4 ++-- app/models/gatherer.rb | 1 + app/models/match.rb | 1 + app/models/profile.rb | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/models/article.rb b/app/models/article.rb index 28b2f05..979b8ea 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -6,12 +6,12 @@ # title :string(255) # status :integer not null # category_id :integer -# text :text +# text :text(16777215) # user_id :integer # created_at :datetime # updated_at :datetime # version :integer -# text_parsed :text +# text_parsed :text(16777215) # text_coding :integer default(0), not null # diff --git a/app/models/gatherer.rb b/app/models/gatherer.rb index 0b49f1b..d6697bf 100644 --- a/app/models/gatherer.rb +++ b/app/models/gatherer.rb @@ -9,6 +9,7 @@ # created_at :datetime # updated_at :datetime # votes :integer default(0), not null +# status :integer default(0), not null # class Gatherer < ActiveRecord::Base diff --git a/app/models/match.rb b/app/models/match.rb index 30d7d3b..1059d07 100644 --- a/app/models/match.rb +++ b/app/models/match.rb @@ -25,6 +25,7 @@ # points1 :integer # points2 :integer # hltv_id :integer +# caster_id :string(255) # class Match < ActiveRecord::Base diff --git a/app/models/profile.rb b/app/models/profile.rb index 194e0f8..e24e4d0 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -52,6 +52,8 @@ # steam_profile :string(255) # achievements_parsed :string(255) # signature_parsed :string(255) +# stream :string(255) +# layout :string(255) # class Profile < ActiveRecord::Base