Sha256: 2810c1d121ba301baddc3755ec3d66a7f1a3872987c31ceb5ce4b49e7fd8862a
Contents?: true
Size: 643 Bytes
Versions: 1
Compression:
Stored size: 643 Bytes
Contents
class StocktwitsMigration < ActiveRecord::Migration def self.up create_table :users do |t| t.string :stocktwits_id t.string :login # t.string :access_token - uncomment if you change your are planning to use the "oauth" strategy # t.string :access_secret - uncomment if you change your are planning to use the "oauth" strategy # t.binary :crypted_password - uncomment if you change your are planning to use the "basic" strategy # t.string :salt - uncomment if you change your are planning to use the "basic" strategy t.timestamps end end def self.down drop_table :users end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stocktwits-1.0.0 | generators/stocktwits/templates/migration.rb |