summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20090206214500_create_users.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20090206214500_create_users.rb b/db/migrate/20090206214500_create_users.rb
new file mode 100644
index 0000000..9199bb3
--- /dev/null
+++ b/db/migrate/20090206214500_create_users.rb
@@ -0,0 +1,12 @@
1class CreateUsers < ActiveRecord::Migration
2 def self.up
3 create_table :users do |t|
4
5 t.timestamps
6 end
7 end
8
9 def self.down
10 drop_table :users
11 end
12end