Lesson 2/7 no-migration-file



I've read older posts about this problem and it seems that there is still the same issue.
I've tried this on a different computers/browsers/days of the week.
No luck.

So there is a way to make it manually? I want to continue the course. Any help?



Hi @flynn84,

You should report this as a bug through the form below the instructions on the left first, but then do this:

  1. Create a file called [Unix timestamp]_create_messages.rb. You can get a Unix timestamp to put at the beginning here: https://www.epochconverter.com/
  2. Put this code in the file:
Click to view

class CreateMessages < ActiveRecord::Migration
  def change
    create_table :messages do |t|
			t.text :content

After that, you should be able to continue :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.