summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/001_create_admins.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/001_create_admins.rb b/db/migrate/001_create_admins.rb
new file mode 100644
index 0000000..31da931
--- /dev/null
+++ b/db/migrate/001_create_admins.rb
@@ -0,0 +1,10 @@
+class CreateAdmins < ActiveRecord::Migration
+ def self.up
+ create_table :admin do |t|
+ end
+ end
+
+ def self.down
+ drop_table :admin
+ end
+end