Skip to content

Commit 6776e71

Browse files
committed
changet projects description type to text
1 parent 18969a5 commit 6776e71

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class ChangeProjectsDescription < ActiveRecord::Migration
2+
def up
3+
change_column :projects, :description, :text, :limit => nil
4+
end
5+
def down
6+
change_column :projects, :description, :string
7+
end
8+
end

db/schema.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
# It's strongly recommended that you check this file into your version control system.
1313

14-
ActiveRecord::Schema.define(version: 20140207061855) do
14+
ActiveRecord::Schema.define(version: 20140209022632) do
1515

1616
create_table "deposits", force: true do |t|
1717
t.integer "project_id"
@@ -35,7 +35,7 @@
3535
t.string "name"
3636
t.string "full_name"
3737
t.string "source_full_name"
38-
t.string "description"
38+
t.text "description"
3939
t.integer "watchers_count"
4040
t.string "language"
4141
t.string "last_commit"

0 commit comments

Comments
 (0)