Sha256: d6b80061a003f22acc304f5d81b70452e795bfd85f11a9a851f8f02db84a04f9
Contents?: true
Size: 441 Bytes
Versions: 149
Compression:
Stored size: 441 Bytes
Contents
class CreateShares < ActiveRecord::Migration def self.up create_table :shares, :force => true do |t| t.string :uri, :limit => 2083, :default => "", :null => false t.string :title t.text :message t.integer :shared_by_id, :null => false t.timestamps end add_index :shares, :shared_by_id end def self.down drop_table :shares end end
Version data entries
149 entries across 139 versions & 6 rubygems