torque-postgresql 3.1.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/spec/schema.rb CHANGED
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- version = 1
13
+ version = 2
14
14
 
15
15
  return if ActiveRecord::Migrator.current_version == version
16
16
  ActiveRecord::Schema.define(version: version) do
@@ -69,6 +69,11 @@ ActiveRecord::Schema.define(version: version) do
69
69
  t.enum "specialty", enum_type: :specialties
70
70
  end
71
71
 
72
+ create_table "categories", force: :cascade do |t|
73
+ t.integer "parent_id"
74
+ t.string "title"
75
+ end
76
+
72
77
  create_table "texts", force: :cascade do |t|
73
78
  t.integer "user_id"
74
79
  t.string "content"
@@ -86,6 +91,7 @@ ActiveRecord::Schema.define(version: version) do
86
91
  end
87
92
 
88
93
  create_table "courses", force: :cascade do |t|
94
+ t.integer "category_id"
89
95
  t.string "title", null: false
90
96
  t.interval "duration"
91
97
  t.enum "types", enum_type: :types, array: true