Skip to content

Commit

Permalink
Changed default access to "Public" for each migration.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbroadbent committed Sep 27, 2011
1 parent b900116 commit 457e028
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion db/migrate/20100928030601_create_accounts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def self.up
t.references :user
t.integer :assigned_to
t.string :name, :limit => 64, :null => false, :default => ""
t.string :access, :limit => 8, :default => "Private" # %w(Private Public Shared)
t.string :access, :limit => 8, :default => "Public" # %w(Private Public Shared)
t.string :website, :limit => 64
t.string :tall_free_phone, :limit => 32
t.string :phone, :limit => 32
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20100928030605_create_campaigns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def self.up
t.references :user
t.integer :assigned_to
t.string :name, :limit => 64, :null => false, :default => ""
t.string :access, :limit => 8, :default => "Private" # %w(Private Public Shared)
t.string :access, :limit => 8, :default => "Public" # %w(Private Public Shared)
t.string :status, :limit => 64
t.decimal :budget, :precision => 12, :scale => 2
# Target metrics.
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20100928030606_create_leads.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def self.up
t.integer :assigned_to
t.string :first_name, :limit => 64, :null => false, :default => ""
t.string :last_name, :limit => 64, :null => false, :default => ""
t.string :access, :limit => 8, :default => "Private"
t.string :access, :limit => 8, :default => "Public"
t.string :title, :limit => 64
t.string :company, :limit => 64
t.string :source, :limit => 32
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20100928030607_create_contacts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def self.up
t.integer :reports_to
t.string :first_name, :limit => 64, :null => false, :default => ""
t.string :last_name, :limit => 64, :null => false, :default => ""
t.string :access, :limit => 8, :default => "Private"
t.string :access, :limit => 8, :default => "Public"
t.string :title, :limit => 64
t.string :department, :limit => 64
t.string :source, :limit => 32
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20100928030608_create_opportunities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def self.up
t.references :campaign
t.integer :assigned_to
t.string :name, :limit => 64, :null => false, :default => ""
t.string :access, :limit => 8, :default => "Private" # %w(Private Public Shared)
t.string :access, :limit => 8, :default => "Public" # %w(Private Public Shared)
t.string :source, :limit => 32
t.string :stage, :limit => 32
t.integer :probability
Expand Down

0 comments on commit 457e028

Please sign in to comment.