Sha256: 24175b825822322a55c07381118749f0832100adb48b28c4721052b7eb0b1f76

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

class CreateSkalaUsers < ActiveRecord::Migration
  def change
    create_table :skala_users do |t|
      t.string :api_key
      t.string :username

      t.timestamps
    end

    add_index :skala_users, :api_key, unique: true
    add_index :skala_users, :username, unique: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skala-1.1.0 db/migrate/20141006133522_create_skala_users.rb