Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4267328
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:53:04+00:00 2026-05-21T06:53:04+00:00

In development I used sqlite3 and I was writing a blog application. So for

  • 0

In development I used sqlite3 and I was writing a blog application. So for the blog articles, I had datatype text which worked fine. I was able to write really long articles, never had a problem. Switch over to production using MySQL and now my articles are getting truncated after around 250 characters.

Does anyone know what I need to do and/or change to get MySQL to behave like sqlite3 was, allowing really large bodies of text?

Thank you.

db/schema.rb:

ActiveRecord::Schema.define(:version => 20110307222323) do

  create_table "articles", :force => true do |t|
    t.integer  "user_id"
    t.string   "title"
    t.string   "body"
    t.datetime "created_at"
    t.datetime "updated_at"
    t.integer  "category_id"
    t.string   "url"
  end
end
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T06:53:05+00:00Added an answer on May 21, 2026 at 6:53 am

    May be you should replace

    t.string   :body
    

    with

    t.text   :body
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently writing a GWT application through Eclipse. Eclipse is used for development but
Recently, I have worked in a project were TDD (Test Driven Development) was used.
I had used Server Explorer and related tools for graphical database development with Microsoft
I've started development on a project (which used CVS) by downloading its sources, creating
I'm looking into development standards fro JavaScript. I had previously used Doulgas Crockfords Javascript
after finishing my android application development i used the command showing below to get
Can anybody have good answer when should be database driven development be used and
Are user stories (typically used in agile development or test driven development) the same
As I've only ever used Visual Studio for .NET development, I would like to
Web parts seem to be used extensively in Sharepoint related development, but examples of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.