Sha256: e32074992aa3ce57b1a4d06f2fa99cbc4ab4680a34866368e1a379b06b091a33

Contents?: true

Size: 375 Bytes

Versions: 10

Compression:

Stored size: 375 Bytes

Contents

class CreateClippings < ActiveRecord::Migration
  def self.up
    create_table :clippings do |t|
      t.column :url, :string
      t.column :user_id, :integer
      t.column :image_url, :string
      t.column :description, :string
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
    end
  end

  def self.down
    drop_table :clippings
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
community_engine-3.2.0 db/migrate/009_create_clippings.rb
community_engine-3.0.0 db/migrate/009_create_clippings.rb
community_engine-2.3.2 db/migrate/009_create_clippings.rb
community_engine-2.3.1 db/migrate/009_create_clippings.rb
community_engine-2.3.0 db/migrate/009_create_clippings.rb
community_engine-2.1.0 db/migrate/009_create_clippings.rb
community_engine-2.0.0 db/migrate/009_create_clippings.rb
community_engine-2.0.0.beta3 db/migrate/009_create_clippings.rb
community_engine-2.0.0.beta2 db/migrate/009_create_clippings.rb
community_engine-2.0.0.beta1 db/migrate/009_create_clippings.rb