Sha256: a77f94fb2a291fed48814d840b721cf1be0de282726f8c4be865b55cd61ea1ff

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

ActiveRecord::Schema.define(:version=>0) do
  
  create_table :authors, :force=>true do |t|
    t.column :version, :integer
    t.column :first_name, :string, :limit=>255
    t.column :last_name, :string, :limit=>255
  end
  
  create_table :author_versions, :force=>true do |t|
    t.column :author_id, :integer
    t.column :version, :integer
    t.column :first_name, :string, :limit=>255
    t.column :last_name, :string, :limit=>255
  end
  
  create_table :pages, :force=>true do |t|
    t.column :type, :string
    t.column :version, :integer
    t.column :title, :string, :limit=>255
    t.column :body, :text
    t.column :created_at, :datetime
    t.column :updated_at, :datetime
    t.column :creator_id, :integer
    t.column :author_id, :integer
  end
  
  create_table :page_versions, :force=>true do |t|
    t.column :page_id, :integer
    t.column :version, :integer
    t.column :title, :string, :limit=>255
    t.column :body, :text
    t.column :created_at, :datetime
    t.column :updated_at, :datetime
    t.column :author_id, :integer
  end
  
end

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
revo-version_fu-1.0.0 test/schema.rb
version_fu-1.0.2 test/db/schema.rb
edouard-version_fu-1.0.2 test/db/schema.rb
version_fu-1.0.1 test/db/schema.rb
nbudin-version_fu-1.0.0 test/db/schema.rb