Sha256: c2e463c3b20eef0630e4baf1afd8328dc01dc36357a0ac77364848a9ff25d2b1

Contents?: true

Size: 549 Bytes

Versions: 3

Compression:

Stored size: 549 Bytes

Contents

ActiveRecord::Schema.define(:version => 0) do
  create_table :people, :force => true do |t|
    t.column :name, :string
    t.column :type, :string
    t.column :password, :string
    t.column :admin, :boolean, :default => false
  end
  
  create_table :posts, :force => true do |t|
    t.column :title, :string
    t.column :body, :text
    t.column :published, :boolean, :default => true
  end
  
  create_table :comments, :force => true do |t|
    t.column :post_id, :integer
    t.column :author_id, :integer
    t.column :body, :text
  end
end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
JamieFlournoy-machinist-1.0.6 spec/db/schema.rb
machinist-1.0.6 spec/db/schema.rb
manufactory-0.0.2 spec/stubs/db/schema.rb