module Ros::Migrations::Create::Tenant

Public Instance Methods

change() click to toggle source
# File lib/migrations.rb, line 9
def change
  create_table :tenants do |t|
    t.string :schema_name, null: false, index: { unique: true }

    t.timestamps null: false
  end
end