class CreateWords < ActiveRecord::Migration[5.0]
  def change
    create_table :words do |t|
      t.string   :text, null: false
      t.integer  :points, null: false

      t.timestamps(null: false)
    end
  end
end

class CreateWords < ActiveRecord::Migration[5.0]
  def change
    create_table :words do |t|
      t.string   :text, null: false
      t.integer  :points, null: false
      t.integer  :x, null: false
      t.integer  :y, null: false

      t.timestamps(null: false)
    end
  end
end

Update words migration with x and y coordinates.
Update words migration with x and y coordinates.

Words need an x and y coordinate to interact with an html5 canvas and it is easier to initialize words in our database with these attributes rather than having to update the words with coordinates in the browser with javascript.
