Commit 117d1e90fdef3aaf64901ba18a5ce5bab4c668d8

Authored by Nihad Abbasov
1 parent 38cdb3eb

add expires_at column to snippets

db/migrate/20111027051828_add_expires_at_to_snippets.rb 0 → 100644
@@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
  1 +class AddExpiresAtToSnippets < ActiveRecord::Migration
  2 + def change
  3 + add_column :snippets, :expires_at, :datetime
  4 + end
  5 +end
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 # 11 #
12 # It's strongly recommended to check this file into your version control system. 12 # It's strongly recommended to check this file into your version control system.
13 13
14 -ActiveRecord::Schema.define(:version => 20111025134235) do 14 +ActiveRecord::Schema.define(:version => 20111027051828) do
15 15
16 create_table "issues", :force => true do |t| 16 create_table "issues", :force => true do |t|
17 t.string "title" 17 t.string "title"
@@ -65,6 +65,7 @@ ActiveRecord::Schema.define(:version =&gt; 20111025134235) do @@ -65,6 +65,7 @@ ActiveRecord::Schema.define(:version =&gt; 20111025134235) do
65 t.datetime "created_at" 65 t.datetime "created_at"
66 t.datetime "updated_at" 66 t.datetime "updated_at"
67 t.string "file_name" 67 t.string "file_name"
  68 + t.datetime "expires_at"
68 end 69 end
69 70
70 create_table "users", :force => true do |t| 71 create_table "users", :force => true do |t|