Sha256: 7b8da2e8c2c422d1db46862ef9441e4e96a421e835584209b6a944ff6c22ff31

Contents?: true

Size: 251 Bytes

Versions: 3

Compression:

Stored size: 251 Bytes

Contents

Sequel.migration do
  change do
    create_table(:hashtags_statuses) do
      foreign_key :hashtag_id, :hashtags, :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/007_create_hashtags_statuses.rb
birdwatcher-0.3.1 db/migrations/007_create_hashtags_statuses.rb
birdwatcher-0.1.0 db/migrations/007_create_hashtags_statuses.rb