Class: CreateActiveConnectActiveConnectData
- Inherits:
-
Object
- Object
- CreateActiveConnectActiveConnectData
- Defined in:
- lib/generators/active_connect/templates/create_active_connect_active_connect_data.rb
Overview
lib/generators/active_connect/templates/create_active_connect_data.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/generators/active_connect/templates/create_active_connect_active_connect_data.rb', line 5 def change create_table :active_connect_active_connect_data do |t| t.references :connectable, polymorphic: true, index: true t.json :data t.datetime :run_at t.integer :status t.string :service t. end end |