Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20110921192501_create_issues.rb')
-rw-r--r--db/migrate/20110921192501_create_issues.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20110921192501_create_issues.rb b/db/migrate/20110921192501_create_issues.rb
new file mode 100644
index 00000000000..63b42ad998e
--- /dev/null
+++ b/db/migrate/20110921192501_create_issues.rb
@@ -0,0 +1,13 @@
+class CreateIssues < ActiveRecord::Migration
+ def change
+ create_table :issues do |t|
+ t.string :title
+ t.text :content
+ t.integer :assignee_id
+ t.integer :author_id
+ t.integer :project_id
+
+ t.timestamps
+ end
+ end
+end