Sha256: a89ca28bab8d729eaebd483aba7243fb3199b09c1debd86f3650b209e96317d4

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

Sequel.migration do
  change do
    create_table(:mentions) do
      primary_key :id
      foreign_key :workspace_id, :workspaces, :on_delete => :cascade, :index => true
      String :twitter_id, :index => true
      String :screen_name, :index => true
      String :name
      DateTime :updated_at
      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/004_create_mentions.rb
birdwatcher-0.3.1 db/migrations/004_create_mentions.rb
birdwatcher-0.1.0 db/migrations/004_create_mentions.rb