projects
/
opencantine5
/
opencantine5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
v1.0 bĂȘta
[opencantine5/opencantine5.git]
/
db
/
migrate
/
20191011131129_create_blogs.rb
diff --git a/db/migrate/20191011131129_create_blogs.rb
b/db/migrate/20191011131129_create_blogs.rb
new file mode 100644
(file)
index 0000000..
2ec0174
--- /dev/null
+++ b/
db/migrate/20191011131129_create_blogs.rb
@@ -0,0
+1,10
@@
+class CreateBlogs < ActiveRecord::Migration[5.2]
+ def change
+ create_table :blogs do |t|
+ t.string :titre, null: false
+ t.string :corps, null: false
+
+ t.timestamps
+ end
+ end
+end