Sha256: 73b087085e9db8a344da6f30cb93faec4bafd709f1ae69ef3aa305afd836effe

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

ActiveRecord::Schema.define do
  self.verbose = false
  
  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

1 entries across 1 versions & 1 rubygems

Version Path
by_star-0.2.5 spec/fixtures/schema.rb