Sha256: b404c0ca1094f35b10d4f452b75689c6e5204529443f15ceaa2163336a2fbf0d

Contents?: true

Size: 853 Bytes

Versions: 9

Compression:

Stored size: 853 Bytes

Contents

class CreateLists < ActiveRecord::Migration[4.2]
  def change
    create_table :integral_lists do |t|
      t.string    "title", :null => false
      t.text      "description"
      t.boolean   "locked"
      t.string    "html_classes"
      t.string    "html_id"
    end

    create_table "integral_list_items", :force => true do |t|
      t.integer "list_id"
      t.string  "title"
      t.text  "description"
      t.string  "subtitle"
      t.string  "url"
      t.integer  "image_id"
      t.string  "target"
      t.string  "html_classes"
      t.integer "priority"
      t.integer "object_id"
      t.string "type"
      t.string "object_type"
    end

    create_table "integral_list_item_connections", :force => true, :id => false do |t|
      t.integer "parent_id", :null => false
      t.integer "child_id", :null => false
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
integral-2.0.0 db/migrate/20161014175823_create_lists.rb
integral-1.5.1 db/migrate/20161014175823_create_lists.rb
integral-1.5.0 db/migrate/20161014175823_create_lists.rb
integral-1.4.0 db/migrate/20161014175823_create_lists.rb
integral-1.3.0 db/migrate/20161014175823_create_lists.rb
integral-1.2.0 db/migrate/20161014175823_create_lists.rb
integral-1.1.0 db/migrate/20161014175823_create_lists.rb
integral-1.0.1 db/migrate/20161014175823_create_lists.rb
integral-1.0.0 db/migrate/20161014175823_create_lists.rb