```ruby
class CreatePhrasingPhraseVersions < ActiveRecord::Migration
  def change
    create_table :phrasing_phrase_versions do |t|    
      t.integer :phrasing_phrase_id
      t.text :value
      t.timestamps
    end
  end
end
```

Create index on phrase versions to phrase association
user
```ruby
class CreatePhrasingPhraseVersions < ActiveRecord::Migration
  def change
    create_table :phrasing_phrase_versions do |t|    
      t.references :phrasing_phrase
      t.text :value
      t.timestamps
    end
  end
end
```
assistant