summaryrefslogtreecommitdiff
path: root/db/migrate/20090201211159_create_flags.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20090201211159_create_flags.rb')
-rw-r--r--db/migrate/20090201211159_create_flags.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20090201211159_create_flags.rb b/db/migrate/20090201211159_create_flags.rb
new file mode 100644
index 00000000..3b9da430
--- /dev/null
+++ b/db/migrate/20090201211159_create_flags.rb
@@ -0,0 +1,13 @@
1class CreateFlags < ActiveRecord::Migration
2 def self.up
3 create_table :flags do |t|
4 t.string :name
5
6 t.timestamps
7 end
8 end
9
10 def self.down
11 drop_table :flags
12 end
13end