Sha256: 4155faf51d8fb836093d34f17617e17f0bd93e750509fced0d3b82c7d4fa0736

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 Bytes

Contents

ActiveRecord::Schema.define(:version => 1) do

  create_table :widgets, :force => true do |t|
    t.column :title, :string, :limit => 50
    t.column :category_id, :integer
    t.column :deleted_at, :timestamp
  end

  create_table :categories, :force => true do |t|
    t.column :widget_id, :integer
    t.column :title, :string, :limit => 50
    t.column :deleted_at, :timestamp
  end

  create_table :categories_widgets, :force => true, :id => false do |t|
    t.column :category_id, :integer
    t.column :widget_id, :integer
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts_as_paranoid-0.3.1 test/schema.rb