```ruby
class CreateJunketCampaignTemplates < ActiveRecord::Migration
  def change
    create_table :junket_campaign_templates do |t|
      t.string :name
      t.string :campaign_name
      t.string :email_subject
      t.text :email_body
      t.text :sms_body
      t.boolean :send_email, default: true
      t.boolean :send_sms, default: true
      t.string :access_level, default: :private, index: true
      t.references :owner, polymorphic: true, index: true

      t.timestamps
    end
  end
end
```

Remove nulls on bool column so default values work
user
```ruby
class CreateJunketCampaignTemplates < ActiveRecord::Migration
  def change
    create_table :junket_campaign_templates do |t|
      t.string :name
      t.string :campaign_name
      t.string :email_subject
      t.text :email_body
      t.text :sms_body
      t.boolean :send_email, default: true, null: false
      t.boolean :send_sms, default: true, null: false
      t.string :access_level, default: :private, index: true
      t.references :owner, polymorphic: true, index: true

      t.timestamps
    end
  end
end
```
assistant