Opcje konfguracyjne pluginu. Walidacja przy wpisywaniu publikacji do zagadnienia...
[redakcja_redmine.git] / db / migrate / 003_publications_add_repo_id.rb
diff --git a/db/migrate/003_publications_add_repo_id.rb b/db/migrate/003_publications_add_repo_id.rb
new file mode 100644 (file)
index 0000000..8f232c9
--- /dev/null
@@ -0,0 +1,8 @@
+class PublicationsAddRepoId < ActiveRecord::Migration
+  def self.up
+    add_column :publications, :repository_id, :integer, :null => false, :default => 0
+  end
+
+  def self.down 
+  end
+end