spec/dummy/db/schema.rb in my_forum-0.0.1.beta4 vs spec/dummy/db/schema.rb in my_forum-0.0.1.beta5
- old
+ new
@@ -9,11 +9,11 @@
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20150227210814) do
+ActiveRecord::Schema.define(version: 20151012095554) do
create_table "my_forum_categories", force: :cascade do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
@@ -32,9 +32,19 @@
t.string "description"
t.integer "topics_count"
t.integer "posts_count"
t.datetime "created_at"
t.datetime "updated_at"
+ end
+
+ create_table "my_forum_images", force: :cascade do |t|
+ t.integer "user_id"
+ t.integer "post_id"
+ t.string "file_name"
+ t.integer "file_size"
+ t.string "type"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
create_table "my_forum_log_read_marks", force: :cascade do |t|
t.integer "user_id"
t.integer "topic_id"