summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-02-18 18:16:28 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-02-18 18:16:28 -0500
commit94a5654371812905c154f29cef393d42f13c5eaa (patch)
tree6bd168b6837f8ae9e4725bc1cdbdfc52cb1f9c5c /db
parent5f5a3ca46b0c59f698a49de463d72492cfe60f37 (diff)
Added the generate shell command. Please do not commit the generated files.
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140304014711_create_servers.rb8
-rw-r--r--db/migrate/20140304014713_create_tournaments.rb8
-rw-r--r--db/migrate/20140304014715_create_matches.rb8
-rw-r--r--db/migrate/20140304014718_create_teams.rb8
-rw-r--r--db/migrate/20140304014720_create_users.rb8
5 files changed, 40 insertions, 0 deletions
diff --git a/db/migrate/20140304014711_create_servers.rb b/db/migrate/20140304014711_create_servers.rb
new file mode 100644
index 0000000..f33241a
--- /dev/null
+++ b/db/migrate/20140304014711_create_servers.rb
@@ -0,0 +1,8 @@
+class CreateServers < ActiveRecord::Migration
+ def change
+ create_table :servers do |t|
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20140304014713_create_tournaments.rb b/db/migrate/20140304014713_create_tournaments.rb
new file mode 100644
index 0000000..2095590
--- /dev/null
+++ b/db/migrate/20140304014713_create_tournaments.rb
@@ -0,0 +1,8 @@
+class CreateTournaments < ActiveRecord::Migration
+ def change
+ create_table :tournaments do |t|
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20140304014715_create_matches.rb b/db/migrate/20140304014715_create_matches.rb
new file mode 100644
index 0000000..1478e75
--- /dev/null
+++ b/db/migrate/20140304014715_create_matches.rb
@@ -0,0 +1,8 @@
+class CreateMatches < ActiveRecord::Migration
+ def change
+ create_table :matches do |t|
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20140304014718_create_teams.rb b/db/migrate/20140304014718_create_teams.rb
new file mode 100644
index 0000000..dd8397d
--- /dev/null
+++ b/db/migrate/20140304014718_create_teams.rb
@@ -0,0 +1,8 @@
+class CreateTeams < ActiveRecord::Migration
+ def change
+ create_table :teams do |t|
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20140304014720_create_users.rb b/db/migrate/20140304014720_create_users.rb
new file mode 100644
index 0000000..163109f
--- /dev/null
+++ b/db/migrate/20140304014720_create_users.rb
@@ -0,0 +1,8 @@
+class CreateUsers < ActiveRecord::Migration
+ def change
+ create_table :users do |t|
+
+ t.timestamps
+ end
+ end
+end