summaryrefslogtreecommitdiff
path: root/db_legacy/migrate/20180712210523_business.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db_legacy/migrate/20180712210523_business.rb')
-rw-r--r--db_legacy/migrate/20180712210523_business.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db_legacy/migrate/20180712210523_business.rb b/db_legacy/migrate/20180712210523_business.rb
new file mode 100644
index 0000000..512a3ad
--- /dev/null
+++ b/db_legacy/migrate/20180712210523_business.rb
@@ -0,0 +1,9 @@
+class Business < ActiveRecord::Migration[4.2]
+ def change
+ create_table :businesses do |t|
+ t.string :uuid, index: true
+ t.string :name
+ t.timestamps
+ end
+ end
+end