Sha256: 12e428c3a7ff9acc1e89462d089acbfe5bd0f293cd454db0bcf77f83340666ea

Contents?: true

Size: 268 Bytes

Versions: 6

Compression:

Stored size: 268 Bytes

Contents

class CreatePosts < ActiveRecord::Migration
  def change
    create_table :posts do |t|
      t.references :tenant, index: true
      t.references :member, index: true
      t.references :zine, index: true
      t.string :content

      t.timestamps
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
milia-1.2.1 test/db/migrate/20111012231923_create_posts.rb
milia-1.2.0 test/db/migrate/20111012231923_create_posts.rb
milia-1.1.1 test/db/migrate/20111012231923_create_posts.rb
milia-1.0.1 test/db/migrate/20111012231923_create_posts.rb
milia-1.1.0 test/db/migrate/20111012231923_create_posts.rb
milia-1.0.0 test/db/migrate/20111012231923_create_posts.rb