Sha256: debcd6d695fb6c768b876770f80725c4eb2e80c3a97fb610f42ab4f861a6a14d

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

class CreateSkalaUserWatchLists < ActiveRecord::Migration
  def change
    create_table :skala_user_watch_lists do |t|
      t.text       :description
      t.string     :name
      t.boolean    :public, default: false
      t.references :user

      t.timestamps
    end

    add_index :skala_user_watch_lists, :user_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skala-1.1.0 db/migrate/20141006133649_create_skala_user_watch_lists.rb