Usage: script/generate has_messages This will create migrations that will add the proper tables to store messages.