diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-05-29 16:13:07 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-05-29 16:13:07 +0200 |
commit | ddfc963d35dc1ecd7e78af9cd96ed4ce058a8dc8 (patch) | |
tree | 87163ed6063a5681d988285dd4a38c94d8b4f54d | |
parent | d8086477b1e5906d42c6f60e7882a50c0daee02b (diff) | |
download | rails-ddfc963d35dc1ecd7e78af9cd96ed4ce058a8dc8.tar.gz rails-ddfc963d35dc1ecd7e78af9cd96ed4ce058a8dc8.tar.bz2 rails-ddfc963d35dc1ecd7e78af9cd96ed4ce058a8dc8.zip |
Content is now supplied by dedicated model
-rw-r--r-- | test/dummy/db/migrate/20180208205311_create_messages.rb | 2 | ||||
-rw-r--r-- | test/dummy/db/schema.rb | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/test/dummy/db/migrate/20180208205311_create_messages.rb b/test/dummy/db/migrate/20180208205311_create_messages.rb index 6817d5933f..8e43559672 100644 --- a/test/dummy/db/migrate/20180208205311_create_messages.rb +++ b/test/dummy/db/migrate/20180208205311_create_messages.rb @@ -2,8 +2,6 @@ class CreateMessages < ActiveRecord::Migration[5.2] def change create_table :messages do |t| t.string :subject - t.text :content - t.timestamps end end diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb index f892368183..67668b6e78 100644 --- a/test/dummy/db/schema.rb +++ b/test/dummy/db/schema.rb @@ -12,6 +12,16 @@ ActiveRecord::Schema.define(version: 2018_02_12_164506) do + create_table "action_text_rich_texts", force: :cascade do |t| + t.string "name", null: false + t.text "body", null: false + t.string "record_type", null: false + t.integer "record_id", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.index ["record_type", "record_id", "name"], name: "index_action_text_rich_texts_uniqueness", unique: true + end + create_table "active_storage_attachments", force: :cascade do |t| t.string "name", null: false t.string "record_type", null: false @@ -35,7 +45,6 @@ ActiveRecord::Schema.define(version: 2018_02_12_164506) do create_table "messages", force: :cascade do |t| t.string "subject" - t.text "content" t.datetime "created_at", null: false t.datetime "updated_at", null: false end |