Sha256: ff18170ea92ff43c4eef82d48bcc804463211f617686b0bb2d800302f2d9ef9c

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

Sequel.migration do
  change do
    create_table(:statuses_urls) do
      foreign_key :url_id, :urls, :on_delete => :cascade, :index => true
      foreign_key :status_id, :statuses, :on_delete => :cascade, :index => true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
birdwatcher-0.4.0 db/migrations/009_create_statuses_urls.rb
birdwatcher-0.3.1 db/migrations/009_create_statuses_urls.rb
birdwatcher-0.1.0 db/migrations/009_create_statuses_urls.rb