Sha256: ba4346c110b66baff78ca478c8efb2b0943a88d1e78e597e764f10a5783ac7cf

Contents?: true

Size: 509 Bytes

Versions: 3

Compression:

Stored size: 509 Bytes

Contents

Sequel.migration do
  change do
    create_table(:urls) do
      primary_key :id
      foreign_key :workspace_id, :workspaces, :on_delete => :cascade, :index => true
      String :url, :index => true
      String :final_url, :index => true
      Integer :http_status, :index => true
      String :content_type, :index => true
      String :title, :index => true
      DateTime :crawled_at, :index => true
      DateTime :updated_at, :index => true
      DateTime :created_at, :index => true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
birdwatcher-0.4.0 db/migrations/008_create_urls.rb
birdwatcher-0.3.1 db/migrations/008_create_urls.rb
birdwatcher-0.1.0 db/migrations/008_create_urls.rb