trustie2 view_num_trustie -> view_num_ossean

This commit is contained in:
zhanyun 2016-08-28 13:00:16 +08:00
parent cd8a339e56
commit 0b10b67df1
14 changed files with 157 additions and 157 deletions

View File

@ -46,7 +46,7 @@ class RelativeMemo < ActiveRecord::Base
# text :tags
# string :source, :stored => false
# #integer :view_num_crawled
# #integer :view_num_trustie
# #integer :view_num_ossean
# #integer :collection_num
# #join(:osp_id, :target => RelativeMemoToOpenSourceProject, :type => :integer, :join => { :from => :relative_memo_id, :to => :id }, :as => 'osp_id')
# #join(:relative_memo_id, :target => RelativeMemoToOpenSourceProject, :type => :integer, :join => { :from => :relative_memo_id, :to => :id }, :as => 'relative_memo_id')

View File

@ -35,7 +35,7 @@
<p class="stats">
<!--%= link_to project_info.visit_num, open_source_project_path(project) %-->
<a>
<%= short_num (project.view_num_trustie.nil?)?0:project.view_num_trustie %>
<%= short_num (project.view_num_ossean.nil?)?0:project.view_num_ossean %>
<%#= short_num ((project.view_num_crawled.nil?)?0:project.view_num_crawled)+project.view_num_local+project.relative_topics.sum('view_num_crawled') %>
</a>
<%= content_tag('span', l(:label_view_num)) %>

View File

@ -43,7 +43,7 @@
<td align="right" rowspan="3">
<table class="borad-count">
<tr>
<td align="center" class="borad-count-digit"><%= link_to (topic.view_num_crawled+topic.view_num_trustie), topic.url, :target => '_blank' %></td>
<td align="center" class="borad-count-digit"><%= link_to (topic.view_num_crawled+topic.view_num_ossean), topic.url, :target => '_blank' %></td>
</tr>
<tr>
<td align="center">浏览</td>

View File

@ -73,7 +73,7 @@
<table class="borad-count">
<tr>
<td align="center" class="borad-count-digit">
<%= link_to (topic.view_num_crawled+topic.view_num_trustie), topic.url, :target => '_blank' %>
<%= link_to (topic.view_num_crawled+topic.view_num_ossean), topic.url, :target => '_blank' %>
</td>
</tr>
<tr>

View File

@ -152,7 +152,7 @@
<td align="right" rowspan="2">
<table class="borad-count">
<tr>
<td align="center" class="borad-count-digit"><%= link_to (memo.view_num_crawled+memo.view_num_trustie), memo.url, :target => '_blank', :onclick => "return user_trace_click_knowledge_in_project_detail_after_click_more('#{@memo_type}','#{memo.id}','nil','#{@topics_pages.page}','#{i+1}','#{@sort_by}');" %></td>
<td align="center" class="borad-count-digit"><%= link_to (memo.view_num_crawled+memo.view_num_ossean), memo.url, :target => '_blank', :onclick => "return user_trace_click_knowledge_in_project_detail_after_click_more('#{@memo_type}','#{memo.id}','nil','#{@topics_pages.page}','#{i+1}','#{@sort_by}');" %></td>
</tr>
<tr>
<td align="center">浏览</td>

View File

@ -107,7 +107,7 @@
<td align="right" rowspan="3">
<table class="borad-count">
<tr>
<td align="center" class="borad-count-digit"><%= link_to (topic.view_num_crawled+topic.view_num_trustie), topic.url, :target => '_blank' %></td>
<td align="center" class="borad-count-digit"><%= link_to (topic.view_num_crawled+topic.view_num_ossean), topic.url, :target => '_blank' %></td>
</tr>
<tr>
<td align="center">浏览</td>

View File

@ -266,7 +266,7 @@
<p class="stats">
<!--%= link_to project_info.visit_num, open_source_project_path(project) %-->
<a>
<%= topic.view_num_crawled+topic.view_num_trustie %>
<%= topic.view_num_crawled+topic.view_num_ossean %>
</a>
<%= content_tag('span', l(:label_view_num)) %>
</p>

View File

@ -45,7 +45,7 @@
<p class="stats">
<a class="count_info">
<%= topic.view_num_crawled+topic.view_num_trustie %>
<%= topic.view_num_crawled+topic.view_num_ossean %>
</a>
<%= content_tag('span', l(:label_view_num), :class => 'info-desc') %>
</p>

View File

@ -2,7 +2,7 @@ class ChangesToOpenSourceProjectInfos < ActiveRecord::Migration
def change
rename_column :open_source_project_infos, :visit_num, :view_num_crawled
rename_column :open_source_project_infos, :crawler_time, :crawled_time
add_column :open_source_project_infos, :view_num_trustie, :integer, :default => 0
add_column :open_source_project_infos, :view_num_ossean, :integer, :default => 0
remove_column :open_source_project_infos, :registered_time
end
end

View File

@ -4,6 +4,6 @@ class ChangesToRelativeMemos < ActiveRecord::Migration
rename_column :relative_memos, :view_count_crawled, :view_num_crawled
rename_column :relative_memos, :vote_up_count, :vote_up_num
rename_column :relative_memos, :collection_count, :collection_num
rename_column :relative_memos, :view_count_trustie, :view_num_trustie
rename_column :relative_memos, :view_count_trustie, :view_num_ossean
end
end

View File

@ -6,6 +6,6 @@ class AddSomeColumnsOfRelativeMemoForOrderToRelativeMemoToOsp < ActiveRecord::Mi
add_column :relative_memo_to_open_source_projects, :collection_num, :integer
add_column :relative_memo_to_open_source_projects, :memo_type, :string
add_column :relative_memo_to_open_source_projects, :category, :string
add_column :relative_memo_to_open_source_projects, :view_num_trustie, :integer
add_column :relative_memo_to_open_source_projects, :view_num_ossean, :integer
end
end

View File

@ -13,7 +13,7 @@ BEGIN
DECLARE tmp_collection_num INT;
DECLARE tmp_memo_type VARCHAR(255);
DECLARE tmp_category VARCHAR(255);
DECLARE tmp_view_num_trustie INT;
DECLARE tmp_view_num_ossean INT;
DECLARE num INT;
@ -26,10 +26,10 @@ BEGIN
REPEAT
FETCH cur_relative_memo INTO memo_id;
#query the specified memo
SELECT created_time, replies_num, updated_time, view_num_crawled, vote_up_num, collection_num, memo_type, category, view_num_trustie, COUNT(*) INTO tmp_created_time, tmp_replies_num, tmp_updated_time, tmp_view_num_crawled, tmp_vote_up_num,tmp_collection_num, tmp_memo_type, tmp_category, tmp_view_num_trustie, num FROM relative_memos WHERE id = memo_id;
SELECT created_time, replies_num, updated_time, view_num_crawled, vote_up_num, collection_num, memo_type, category, view_num_ossean, COUNT(*) INTO tmp_created_time, tmp_replies_num, tmp_updated_time, tmp_view_num_crawled, tmp_vote_up_num,tmp_collection_num, tmp_memo_type, tmp_category, tmp_view_num_ossean, num FROM relative_memos WHERE id = memo_id;
#update all the records WHERE relative_meom_id = meom_id
IF num > 0 THEN
UPDATE relative_memo_to_open_source_projects SET created_time = tmp_created_time, replies_num = tmp_replies_num, updated_time = tmp_updated_time, view_num_crawled = tmp_view_num_crawled, vote_up_num = tmp_vote_up_num, collection_num = tmp_collection_num, memo_type = tmp_memo_type, category = tmp_category, view_num_trustie = tmp_view_num_trustie, has_synchronized = 1 WHERE relative_memo_id = memo_id;
UPDATE relative_memo_to_open_source_projects SET created_time = tmp_created_time, replies_num = tmp_replies_num, updated_time = tmp_updated_time, view_num_crawled = tmp_view_num_crawled, vote_up_num = tmp_vote_up_num, collection_num = tmp_collection_num, memo_type = tmp_memo_type, category = tmp_category, view_num_ossean = tmp_view_num_ossean, has_synchronized = 1 WHERE relative_memo_id = memo_id;
END IF;
UNTIL 0 END REPEAT;

View File

@ -7,7 +7,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -20,7 +20,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -33,7 +33,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -46,7 +46,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -60,7 +60,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -74,7 +74,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -88,7 +88,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -102,7 +102,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -116,7 +116,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -130,7 +130,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -144,7 +144,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -158,7 +158,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -172,7 +172,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -186,7 +186,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -200,7 +200,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -214,7 +214,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -228,7 +228,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -242,7 +242,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -256,7 +256,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -270,7 +270,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -284,7 +284,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -298,7 +298,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -312,7 +312,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -326,7 +326,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -340,7 +340,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -354,7 +354,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -368,7 +368,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -382,7 +382,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -396,7 +396,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -410,7 +410,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -424,7 +424,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -438,7 +438,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -452,7 +452,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -466,7 +466,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -480,7 +480,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -494,7 +494,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -508,7 +508,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -522,7 +522,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -536,7 +536,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -550,7 +550,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -564,7 +564,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -578,7 +578,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -592,7 +592,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -606,7 +606,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -620,7 +620,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -634,7 +634,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -648,7 +648,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -662,7 +662,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -676,7 +676,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -690,7 +690,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -704,7 +704,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -718,7 +718,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -732,7 +732,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -746,7 +746,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -760,7 +760,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -774,7 +774,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -788,7 +788,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -802,7 +802,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -816,7 +816,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -830,7 +830,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -844,7 +844,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -858,7 +858,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -872,7 +872,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -886,7 +886,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -900,7 +900,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -914,7 +914,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -928,7 +928,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -942,7 +942,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -956,7 +956,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time
@ -970,7 +970,7 @@ class AddMatchResultPartTable < ActiveRecord::Migration
t.integer :replies_num
t.integer :view_num_crawled
t.string :memo_type
t.integer :view_num_trustie
t.integer :view_num_ossean
t.boolean :has_synchronized, :default => false
t.datetime :created_time
t.datetime :match_time

View File

@ -1060,7 +1060,7 @@ CREATE TABLE `open_source_project_infos` (
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`osp_id` int(11) DEFAULT '0',
`view_num_trustie` int(11) DEFAULT '0',
`view_num_ossean` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `opsurl` (`url`) USING BTREE,
KEY `order_view` (`view_num_crawled`) USING BTREE,
@ -1343,7 +1343,7 @@ CREATE TABLE `relative_memo_to_open_source_projects` (
`collection_num` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`category` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`match_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
@ -1370,7 +1370,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_1` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1392,7 +1392,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_10` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1414,7 +1414,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_11` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1436,7 +1436,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_12` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1458,7 +1458,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_13` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1480,7 +1480,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_14` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1502,7 +1502,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_15` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1524,7 +1524,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_16` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1546,7 +1546,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_17` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1568,7 +1568,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_18` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1590,7 +1590,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_19` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1612,7 +1612,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_2` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1634,7 +1634,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_20` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1656,7 +1656,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_21` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1678,7 +1678,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_22` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1700,7 +1700,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_23` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1722,7 +1722,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_24` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1744,7 +1744,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_25` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1766,7 +1766,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_26` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1788,7 +1788,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_27` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1810,7 +1810,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_28` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1832,7 +1832,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_29` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1854,7 +1854,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_3` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1876,7 +1876,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_30` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1898,7 +1898,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_31` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1920,7 +1920,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_32` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1942,7 +1942,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_33` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1964,7 +1964,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_34` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -1986,7 +1986,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_35` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2008,7 +2008,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_36` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2030,7 +2030,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_37` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2052,7 +2052,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_38` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2074,7 +2074,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_39` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2096,7 +2096,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_4` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2118,7 +2118,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_40` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2140,7 +2140,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_41` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2162,7 +2162,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_42` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2184,7 +2184,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_43` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2206,7 +2206,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_44` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2228,7 +2228,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_45` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2250,7 +2250,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_46` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2272,7 +2272,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_47` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2294,7 +2294,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_48` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2316,7 +2316,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_49` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2338,7 +2338,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_5` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2360,7 +2360,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_50` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2382,7 +2382,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_51` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2404,7 +2404,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_52` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2426,7 +2426,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_53` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2448,7 +2448,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_54` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2470,7 +2470,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_55` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2492,7 +2492,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_56` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2514,7 +2514,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_57` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2536,7 +2536,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_58` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2558,7 +2558,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_59` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2580,7 +2580,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_6` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2602,7 +2602,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_60` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2624,7 +2624,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_61` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2646,7 +2646,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_62` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2668,7 +2668,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_63` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2690,7 +2690,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_64` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2712,7 +2712,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_65` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2734,7 +2734,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_66` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2756,7 +2756,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_67` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2778,7 +2778,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_68` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2800,7 +2800,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_69` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2822,7 +2822,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_7` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2844,7 +2844,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_70` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2866,7 +2866,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_8` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -2888,7 +2888,7 @@ CREATE TABLE `relative_memo_to_open_source_projects_9` (
`replies_num` int(11) DEFAULT NULL,
`view_num_crawled` int(11) DEFAULT NULL,
`memo_type` varchar(255) DEFAULT NULL,
`view_num_trustie` int(11) DEFAULT NULL,
`view_num_ossean` int(11) DEFAULT NULL,
`has_synchronized` tinyint(1) DEFAULT '0',
`created_time` datetime DEFAULT NULL,
`match_time` datetime DEFAULT NULL,
@ -3499,4 +3499,4 @@ CREATE ALGORITHM=UNDEFINED DEFINER=`trustie`@`%` SQL SECURITY DEFINER VIEW `mat
-- View structure for stackoverflow_sql_view
-- ----------------------------
DROP VIEW IF EXISTS `stackoverflow_sql_view`;
CREATE ALGORITHM=UNDEFINED DEFINER=`trustie`@`%` SQL SECURITY DEFINER VIEW `stackoverflow_sql_view` AS select `relative_memos`.`id` AS `id`,`relative_memos`.`osp_id` AS `osp_id`,`relative_memos`.`subject` AS `subject`,`relative_memos`.`content` AS `content`,`relative_memos`.`author` AS `author`,`relative_memos`.`replies_num` AS `replies_num`,`relative_memos`.`lock` AS `lock`,`relative_memos`.`sticky` AS `sticky`,`relative_memos`.`created_at` AS `created_at`,`relative_memos`.`updated_at` AS `updated_at`,`relative_memos`.`url` AS `url`,`relative_memos`.`view_num_crawled` AS `view_num_crawled`,`relative_memos`.`vote_up_num` AS `vote_up_num`,`relative_memos`.`collection_num` AS `collection_num`,`relative_memos`.`abstract` AS `abstract`,`relative_memos`.`memo_type` AS `memo_type`,`relative_memos`.`source` AS `source`,`relative_memos`.`category` AS `category`,`relative_memos`.`view_num_trustie` AS `view_num_trustie`,`relative_memos`.`author_id` AS `author_id`,`relative_memos`.`last_reply_id` AS `last_reply_id`,`relative_memos`.`is_quote` AS `is_quote`,`relative_memos`.`username` AS `username`,`relative_memos`.`userhomeurl` AS `userhomeurl`,`relative_memos`.`parent_id` AS `parent_id`,`relative_memos`.`crawled_time` AS `crawled_time`,`relative_memos`.`created_time` AS `created_time`,`relative_memos`.`updated_time` AS `updated_time`,`relative_memos`.`url_md5` AS `url_md5`,`relative_memos`.`author_url` AS `author_url`,`relative_memos`.`tags` AS `tags` from `relative_memos` where (`relative_memos`.`source` = 'StackOverflow') ;
CREATE ALGORITHM=UNDEFINED DEFINER=`trustie`@`%` SQL SECURITY DEFINER VIEW `stackoverflow_sql_view` AS select `relative_memos`.`id` AS `id`,`relative_memos`.`osp_id` AS `osp_id`,`relative_memos`.`subject` AS `subject`,`relative_memos`.`content` AS `content`,`relative_memos`.`author` AS `author`,`relative_memos`.`replies_num` AS `replies_num`,`relative_memos`.`lock` AS `lock`,`relative_memos`.`sticky` AS `sticky`,`relative_memos`.`created_at` AS `created_at`,`relative_memos`.`updated_at` AS `updated_at`,`relative_memos`.`url` AS `url`,`relative_memos`.`view_num_crawled` AS `view_num_crawled`,`relative_memos`.`vote_up_num` AS `vote_up_num`,`relative_memos`.`collection_num` AS `collection_num`,`relative_memos`.`abstract` AS `abstract`,`relative_memos`.`memo_type` AS `memo_type`,`relative_memos`.`source` AS `source`,`relative_memos`.`category` AS `category`,`relative_memos`.`view_num_ossean` AS `view_num_ossean`,`relative_memos`.`author_id` AS `author_id`,`relative_memos`.`last_reply_id` AS `last_reply_id`,`relative_memos`.`is_quote` AS `is_quote`,`relative_memos`.`username` AS `username`,`relative_memos`.`userhomeurl` AS `userhomeurl`,`relative_memos`.`parent_id` AS `parent_id`,`relative_memos`.`crawled_time` AS `crawled_time`,`relative_memos`.`created_time` AS `created_time`,`relative_memos`.`updated_time` AS `updated_time`,`relative_memos`.`url_md5` AS `url_md5`,`relative_memos`.`author_url` AS `author_url`,`relative_memos`.`tags` AS `tags` from `relative_memos` where (`relative_memos`.`source` = 'StackOverflow') ;