Sha256: 97d28839da0736e2771d3f9abf0be77b16b8fbfcce6fcb82eda7a2f9efa57c09

Contents?: true

Size: 256 Bytes

Versions: 5

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

class CreatePostTags < ActiveRecord::Migration[5.2]
  def change
    create_table :post_tags do |t|
      t.belongs_to :post, foreign_key: true
      t.belongs_to :tag, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activeadmin_blaze_theme-0.7.4 spec/dummy/db/migrate/20180607053257_create_post_tags.rb
activeadmin_blaze_theme-0.7.0 spec/dummy/db/migrate/20180607053257_create_post_tags.rb
activeadmin_blaze_theme-0.6.2 spec/dummy/db/migrate/20180607053257_create_post_tags.rb
activeadmin_blaze_theme-0.6.0 spec/dummy/db/migrate/20180607053257_create_post_tags.rb
activeadmin_blaze_theme-0.5.16 spec/dummy/db/migrate/20180607053257_create_post_tags.rb