1. Wyƛwietlanie i edycja pola "source_file" w widoku ticketu.
[redakcja.git] / redmine / redmine_publications / db / migrate / 001_create_publications.rb
diff --git a/redmine/redmine_publications/db/migrate/001_create_publications.rb b/redmine/redmine_publications/db/migrate/001_create_publications.rb
new file mode 100644 (file)
index 0000000..f9d93ef
--- /dev/null
@@ -0,0 +1,11 @@
+class CreatePublications < ActiveRecord::Migration
+  def self.up
+    create_table :publications do |t|
+      t.column :source_file, :string, :null => false
+    end
+  end
+
+  def self.down
+    drop_table :publications
+  end
+end