class CreateRubyRabbitmqJanusTables

Fields for JanusInstance model

Public Instance Methods

change() click to toggle source
# File lib/generators/ruby_rabbitmq_janus/templates/migration.rb, line 8
def change
  create_table :janus_instances, id: false, force: true do |table|
    table.string :id, null: false
    table.string :name
    table.integer :session, limit: 8
    table.boolean :enable
  end
end