Sha256: a056b1352696c9cb4b77d91281f3d0822acb9ac5cb9e2dcb20c558c724c8336a

Contents?: true

Size: 613 Bytes

Versions: 3

Compression:

Stored size: 613 Bytes

Contents

ActiveRecord::Schema.define do
  self.verbose = false
  
  create_table :invoices, :force => true do |t|
    t.integer :value
    t.integer :number
    t.timestamps
  end
  
  create_table :posts, :force => true do |t|
    t.string :text
    t.timestamps
  end
  
  create_table :posts_tags, :force => true, :id => false do |t|
    t.integer :post_id, :tag_id
  end
  
  create_table :tags, :force => true do |t|
    t.string :name
    t.timestamps
  end
  
  create_table :events, :force => true do |t|
    t.datetime :start_time, :end_time
    t.string :name
    t.boolean :public, :default => true
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
by_star-0.4.0 spec/fixtures/schema.rb
by_star-0.3.1 spec/fixtures/schema.rb
by_star-0.3.0 spec/fixtures/schema.rb