spec/schema.rb in counter_culture-1.0.0 vs spec/schema.rb in counter_culture-1.1.0
- old
+ new
@@ -22,14 +22,20 @@
t.integer "tried_count", :default => 0, :null => false
t.integer "managers_count", :default => 0, :null => false
t.integer "review_approvals_count", :default => 0, :null => false
t.integer "parent_id"
t.integer "children_count", :default => 0, :null => false
+ t.integer "recruiters_count", :default => 0, :null => false
t.datetime "created_at"
t.datetime "updated_at"
end
+ create_table "company_access_levels", :force => true do |t|
+ t.integer "company_id"
+ t.integer "recruiter_id"
+ end
+
create_table "industries", :force => true do |t|
t.string "name"
t.integer "reviews_count", :default => 0, :null => false
t.integer "rexiews_count", :default => 0, :null => false
t.integer "using_count", :default => 0, :null => false
@@ -61,10 +67,15 @@
t.string "type"
t.datetime "created_at"
t.datetime "updated_at"
end
+ create_table "recruiters", :force => true do |t|
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
create_table "users", :force => true do |t|
t.string "name"
t.integer "company_id"
t.integer "manages_company_id"
t.integer "reviews_count", :default => 0, :null => false
@@ -162,6 +173,15 @@
t.string "comment"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
+ create_table "people", :force => true do |t|
+ t.integer "money_earned_total", :null => false, :default => 0
+ t.integer "money_spent_total", :null => false, :default => 0
+ end
+
+ create_table "transactions", :force => true do |t|
+ t.integer "person_id", :null => false
+ t.integer "monetary_value", :null => false
+ end
end