class UsageBuildingBlockEvents
Public Instance Methods
change()
click to toggle source
# File lib/nexmo_developer/db/migrate/20180827133110_usage_building_block_events.rb, line 2 def change create_table :usage_building_block_events, id: :uuid do |t| t.string :language, null: false t.string :block, null: false t.string :section, null: false t.string :action, null: false t.string :ip, null: false t.timestamps end add_index :usage_building_block_events, :language add_index :usage_building_block_events, :block add_index :usage_building_block_events, :action add_index :usage_building_block_events, :ip end