Sha256: ebcedb956d346fbd271787e88e746574f842fc20e364df68a06f40802c157b44
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
class CreateTwitterAccounts < ActiveRecord::Migration def up unless ::Refinery::Tweets::TwitterAccount.table_exists? create_table :refinery_tweets_twitter_accounts, :force => true do |t| t.string :username t.integer :tweet_count, :default => 5 t.string :widget_id t.boolean :visible, :default => true t.timestamps end end end def down drop_table ::Refinery::Tweets::TwitterAccount.table_name end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-tweets-2.1.0 | db/migrate/20101208082999_create_twitter_accounts.rb |
refinerycms-tweets-1.0.0 | db/migrate/20101208082999_create_twitter_accounts.rb |