summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-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