diff options
-rw-r--r-- | db/migrate/201805281641_create_action_text_tables.rb | 2 | ||||
-rw-r--r-- | test/dummy/db/migrate/2018052816_create_action_text_tables.rb | 2 | ||||
-rw-r--r-- | test/dummy/db/schema.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/db/migrate/201805281641_create_action_text_tables.rb b/db/migrate/201805281641_create_action_text_tables.rb index 80bcb5cdbc..872987749a 100644 --- a/db/migrate/201805281641_create_action_text_tables.rb +++ b/db/migrate/201805281641_create_action_text_tables.rb @@ -2,7 +2,7 @@ class CreateActionTextTables < ActiveRecord::Migration[5.2] def change create_table :action_text_rich_texts do |t| t.string :name, null: false - t.text :body, null: false + t.text :body, limit: 16777215, null: false t.references :record, null: false, polymorphic: true, index: false t.datetime :created_at, null: false diff --git a/test/dummy/db/migrate/2018052816_create_action_text_tables.rb b/test/dummy/db/migrate/2018052816_create_action_text_tables.rb index 80bcb5cdbc..872987749a 100644 --- a/test/dummy/db/migrate/2018052816_create_action_text_tables.rb +++ b/test/dummy/db/migrate/2018052816_create_action_text_tables.rb @@ -2,7 +2,7 @@ class CreateActionTextTables < ActiveRecord::Migration[5.2] def change create_table :action_text_rich_texts do |t| t.string :name, null: false - t.text :body, null: false + t.text :body, limit: 16777215, null: false t.references :record, null: false, polymorphic: true, index: false t.datetime :created_at, null: false diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb index 67668b6e78..30bf844e9c 100644 --- a/test/dummy/db/schema.rb +++ b/test/dummy/db/schema.rb @@ -14,7 +14,7 @@ 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.text "body", limit: 16777215, null: false t.string "record_type", null: false t.integer "record_id", null: false t.datetime "created_at", null: false |