Sha256: 4ff3b3451c699df0def0d364c6ebf5208256c2dbca6b6649a95b16141971cb67

Contents?: true

Size: 232 Bytes

Versions: 6

Compression:

Stored size: 232 Bytes

Contents

class CreatePostsTable < ActiveRecord::Migration
  def change
    create_table :posts do |p|
      p.string :title
      p.string :description
      p.integer :owner_id
      p.boolean :deleted

      p.timestamps
    end
  end
end

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
systematize-0.1.0 spec/support/db/migrate/20161117151622_create_posts_table.rb
systematize-0.1.0 spec/testapp/db/migrate/20161117151622_create_posts_table.rb
systematize-0.0.2 spec/support/db/migrate/20161117151622_create_posts_table.rb
systematize-0.0.2 spec/testapp/db/migrate/20161117151622_create_posts_table.rb
systematize-0.0.1 spec/support/db/migrate/20161117151622_create_posts_table.rb
systematize-0.0.1 spec/testapp/db/migrate/20161117151622_create_posts_table.rb