Sha256: fade0b8c81f084cb4d3c72125122920cdcd439b75b87b6dd7fc0c5906a04119d
Contents?: true
Size: 957 Bytes
Versions: 1
Compression:
Stored size: 957 Bytes
Contents
class SoundcloudAuthMigration < ActiveRecord::Migration def self.up create_table :users do |t| t.string :soundcloud_id t.string :username t.string :access_token t.string :access_secret t.string :remember_token t.datetime :remember_token_expires_at # This information is automatically kept # in-sync at each login of the user. You # may remove any/all of these columns. t.string :plan t.string :avatar_url t.string :website_title t.string :permalink t.string :city t.string :uri t.string :country t.string :discogs_name t.string :website t.string :full_name t.integer :followers_count t.text :description t.string :permalink_url t.integer :followings_count t.integer :track_count t.string :myspace_name t.timestamps end end def self.down drop_table :users end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
soundcloud-auth-0.2.0 | generators/soundcloud_auth/templates/migration.rb |