view .svn/pristine/d4/d41f15d9b37a3eb6c6bcd52ec522bdb47635d440.svn-base @ 1422:c97b3b9b5c86 biblio_alt_search_auth

changed form_builder - labelled_form_for was not generating validad HTML5 markup.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 02 Oct 2013 16:44:26 +0100
parents 038ba2d95de8
children
line wrap: on
line source
ActiveRecord::Schema.define(:version => 0) do

  create_table :categories, :force => true do |t|
    t.column :name, :string
    t.column :parent_id, :integer
    t.column :lft, :integer
    t.column :rgt, :integer
    t.column :organization_id, :integer
  end

  create_table :departments, :force => true do |t|
    t.column :name, :string
  end

  create_table :notes, :force => true do |t|
    t.column :body, :text
    t.column :parent_id, :integer
    t.column :lft, :integer
    t.column :rgt, :integer
    t.column :notable_id, :integer
    t.column :notable_type, :string
  end

  create_table :renamed_columns, :force => true do |t|
    t.column :name, :string
    t.column :mother_id, :integer
    t.column :red, :integer
    t.column :black, :integer
  end

  create_table :things, :force => true do |t|
    t.column :body, :text
    t.column :parent_id, :integer
    t.column :lft, :integer
    t.column :rgt, :integer
    t.column :children_count, :integer
  end
  
  create_table :brokens, :force => true do |t|
    t.column :name, :string
    t.column :parent_id, :integer
    t.column :lft, :integer
    t.column :rgt, :integer
  end
end