浏览代码

Added upgrade instructions for 1.0

Andrew 9 年之前
父节点
当前提交
a9b0998e99
共有 1 个文件被更改,包括 15 次插入3 次删除
  1. 15 3
      README.md

+ 15 - 3
README.md

@@ -176,17 +176,29 @@ If there are 2 columns and the first column is a string and the second column is
 
 ## Upgrading
 
-### [master]
+### 1.0.0
 
-Add a migration for checks
+Add a migration for dashboards and checks
 
 ```sh
-rails g migration create_blazer_checks
+rails g migration create_blazer_dashboards
 ```
 
 with
 
 ```ruby
+create_table :blazer_dashboards do |t|
+  t.text :name
+  t.timestamps
+end
+
+create_table :blazer_dashboard_queries do |t|
+  t.references :blazer_dashboard
+  t.references :blazer_query
+  t.integer :position
+  t.timestamps
+end
+
 create_table :blazer_checks do |t|
   t.references :blazer_query
   t.string :state