```ruby
class CreateStorytimeSubscriptions < ActiveRecord::Migration
  def change
    create_table :storytime_subscriptions do |t|
      t.string :email
      t.boolean :subscribed, default: true
      t.token :string, index: true

      t.timestamps
    end
  end
end
```

Fix syntax in subscription migration
user
```ruby
class CreateStorytimeSubscriptions < ActiveRecord::Migration
  def change
    create_table :storytime_subscriptions do |t|
      t.string :email
      t.boolean :subscribed, default: true
      t.string :token, index: true

      t.timestamps
    end
  end
end
```
assistant