Sha256: 0d44979a797f80af6237643da8590ee430cd807c0fe32cc1056333b9b94fd044

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

class CreateSkalaUserNotes < ActiveRecord::Migration
  def change
    create_table :skala_user_notes do |t|
      t.references :user

      t.string     :record_id
      t.string     :scope_id
      t.text       :value, limit: 1073741823

      t.timestamps
    end

    add_index :skala_user_notes, :record_id
    add_index :skala_user_notes, :user_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skala-1.1.0 db/migrate/20141006140435_create_skala_user_notes.rb