Sha256: 05c03ffec83826dd07d6ed9029e34350be5ffa66fd0d9c948ca6823ded6f9a8c

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

# This migration comes from calagator (originally 3)
class CreateSources < ActiveRecord::Migration
  def self.up
    create_table :sources do |t|
      t.string :title
      t.string :url
      t.string :format_type
      t.timestamp :imported_at

      t.timestamps
    end
  end

  def self.down
    drop_table :sources
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calagator-0.0.1.pre1 spec/dummy/db/migrate/20150309023306_create_sources.calagator.rb