Sha256: 48a6359bdbfe5b62e5021c834a5d28fef486bda44df22d3231bd36c3b71e308c
Contents?: true
Size: 472 Bytes
Versions: 2
Compression:
Stored size: 472 Bytes
Contents
class CreateLesliCalendarCatalogEventTypes < ActiveRecord::Migration[6.1] def change create_table :cloud_driver_catalog_event_types do |t| t.string :name t.string :model_type, index: true # acts_as_paranoid t.datetime :deleted_at, index: true t.timestamps end add_reference(:cloud_driver_catalog_event_types, :account, foreign_key: { to_table: :cloud_driver_accounts }) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lesli_calendar-0.2.2 | db/tables/0301010210_create_lesli_driver_catalog_event_types.rb |
lesli_calendar-0.2.1 | db/tables/0301010210_create_lesli_driver_catalog_event_types.rb |