Sha256: ddae579af7009ad4816b1c49ced3a79760c566897a420a6cd68ada907e753ddd

Contents?: true

Size: 934 Bytes

Versions: 3

Compression:

Stored size: 934 Bytes

Contents

Sequel.migration do
  change do
    create_table(:users) 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
      String :location
      String :description
      String :url
      String :profile_image_url
      Integer :followers_count, :index => true
      Integer :friends_count, :index => true
      Integer :listed_count, :index => true
      Integer :favorites_count, :index => true
      Integer :statuses_count, :index => true
      Integer :utc_offset
      String :timezone
      Boolean :geo_enabled, :index => true
      Boolean :verified, :index => true
      String :lang, :index => true
      String :klout_id
      Integer :klout_score, :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/002_create_users.rb
birdwatcher-0.3.1 db/migrations/002_create_users.rb
birdwatcher-0.1.0 db/migrations/002_create_users.rb