Sha256: fb53bbdc1dd526254ffb335cb1a7686328cb72523f86d221cd70ebb563a3f75c
Contents?: true
Size: 732 Bytes
Versions: 8
Compression:
Stored size: 732 Bytes
Contents
class Phobos01CreateEvents < ActiveRecord::Migration[<%= ActiveRecord::VERSION::STRING.to_f %>] def up create_table :phobos_db_checkpoint_events do |t| t.string :topic, index: true t.string :group_id, index: true t.string :entity_id, index: true t.timestamp :event_time, index: true t.string :event_type, index: true t.string :event_version, index: true t.string :checksum, index: true t.json :payload end add_index :phobos_db_checkpoint_events, [:topic, :group_id, :checksum], name: :index_phobos_db_checkpoint_events_on_topic_group_id_checksum end def down drop_table :phobos_db_checkpoint_events end end
Version data entries
8 entries across 8 versions & 1 rubygems