|
61 | 61 | t.string "year"
|
62 | 62 | t.string "month"
|
63 | 63 | t.string "day"
|
64 |
| - t.datetime "created_at", precision: nil, null: false |
65 |
| - t.datetime "updated_at", precision: nil, null: false |
66 | 64 | t.integer "collection_id"
|
67 | 65 | t.string "short_path"
|
68 | 66 | t.text "image_mobile"
|
|
76 | 74 | t.integer "position"
|
77 | 75 | t.boolean "hide_from_index", default: false
|
78 | 76 | t.text "notes"
|
| 77 | + t.datetime "created_at", null: false |
| 78 | + t.datetime "updated_at", null: false |
79 | 79 | t.string "publication_status"
|
80 | 80 | t.index ["canonical_id"], name: "index_articles_on_canonical_id"
|
81 | 81 | t.index ["collection_id"], name: "index_articles_on_collection_id"
|
|
111 | 111 | t.text "cover_style"
|
112 | 112 | t.text "binding_style"
|
113 | 113 | t.text "table_of_contents"
|
114 |
| - t.datetime "created_at", precision: nil, null: false |
115 |
| - t.datetime "updated_at", precision: nil, null: false |
116 | 114 | t.boolean "back_image_present", default: false
|
117 | 115 | t.boolean "front_image_present", default: false
|
118 | 116 | t.boolean "lite_download_present", default: false
|
|
131 | 129 | t.datetime "featured_at", precision: nil
|
132 | 130 | t.integer "position"
|
133 | 131 | t.boolean "hide_from_index", default: false
|
| 132 | + t.datetime "created_at", null: false |
| 133 | + t.datetime "updated_at", null: false |
134 | 134 | t.string "publication_status"
|
135 | 135 | t.index ["canonical_id"], name: "index_books_on_canonical_id"
|
136 | 136 | end
|
137 | 137 |
|
138 | 138 | create_table "categories", id: :serial, force: :cascade do |t|
|
139 | 139 | t.string "name"
|
140 | 140 | t.string "slug"
|
141 |
| - t.datetime "created_at", precision: nil, null: false |
142 |
| - t.datetime "updated_at", precision: nil, null: false |
| 141 | + t.datetime "created_at", null: false |
| 142 | + t.datetime "updated_at", null: false |
143 | 143 | end
|
144 | 144 |
|
145 | 145 | create_table "categorizations", id: :serial, force: :cascade do |t|
|
146 | 146 | t.integer "category_id"
|
147 | 147 | t.integer "article_id"
|
148 |
| - t.datetime "created_at", precision: nil, null: false |
149 |
| - t.datetime "updated_at", precision: nil, null: false |
| 148 | + t.datetime "created_at", null: false |
| 149 | + t.datetime "updated_at", null: false |
150 | 150 | end
|
151 | 151 |
|
152 | 152 | create_table "definitions", force: :cascade do |t|
|
153 | 153 | t.string "title"
|
154 | 154 | t.text "content"
|
155 |
| - t.datetime "created_at", precision: nil, null: false |
156 |
| - t.datetime "updated_at", precision: nil, null: false |
157 | 155 | t.string "locale", default: "en"
|
158 | 156 | t.integer "canonical_id"
|
159 | 157 | t.string "subtitle"
|
160 | 158 | t.string "filed_under"
|
161 | 159 | t.string "draft_code"
|
162 | 160 | t.string "slug"
|
163 |
| - t.datetime "published_at", precision: nil |
164 |
| - t.datetime "featured_at", precision: nil |
| 161 | + t.datetime "published_at" |
| 162 | + t.datetime "featured_at" |
165 | 163 | t.boolean "featured_status", default: false
|
| 164 | + t.datetime "created_at", null: false |
| 165 | + t.datetime "updated_at", null: false |
166 | 166 | t.string "publication_status"
|
167 | 167 | t.index ["canonical_id"], name: "index_definitions_on_canonical_id"
|
168 | 168 | end
|
|
184 | 184 | t.string "audio_type", default: "audio/mpeg"
|
185 | 185 | t.string "tags"
|
186 | 186 | t.datetime "published_at", precision: nil
|
187 |
| - t.datetime "created_at", precision: nil, null: false |
188 |
| - t.datetime "updated_at", precision: nil, null: false |
189 | 187 | t.string "slug"
|
190 | 188 | t.string "published_at_tz", default: "Pacific Time (US & Canada)", null: false
|
191 | 189 | t.string "episode_number"
|
192 | 190 | t.string "locale", default: "en"
|
193 | 191 | t.integer "canonical_id"
|
194 | 192 | t.string "draft_code"
|
| 193 | + t.datetime "created_at", null: false |
| 194 | + t.datetime "updated_at", null: false |
195 | 195 | t.string "publication_status"
|
196 |
| - t.boolean "boolean", default: false, null: false |
197 |
| - t.datetime "datetime", precision: nil |
| 196 | + t.boolean "featured_status", default: false, null: false |
| 197 | + t.datetime "featured_at", precision: nil |
198 | 198 | t.index ["canonical_id"], name: "index_episodes_on_canonical_id"
|
199 | 199 | t.index ["podcast_id"], name: "index_episodes_on_podcast_id"
|
200 | 200 | end
|
|
252 | 252 | t.datetime "created_at", precision: nil
|
253 | 253 | t.datetime "updated_at", precision: nil
|
254 | 254 | t.string "publication_status"
|
255 |
| - t.boolean "boolean", default: false, null: false |
256 |
| - t.datetime "datetime", precision: nil |
257 | 255 | t.index ["canonical_id"], name: "index_issues_on_canonical_id"
|
258 | 256 | end
|
259 | 257 |
|
260 | 258 | create_table "journals", force: :cascade do |t|
|
261 | 259 | t.string "title"
|
262 | 260 | t.string "subtitle"
|
263 | 261 | t.text "description"
|
264 |
| - t.datetime "created_at", precision: nil, null: false |
265 |
| - t.datetime "updated_at", precision: nil, null: false |
266 | 262 | t.string "slug"
|
267 | 263 | t.datetime "published_at", precision: nil
|
268 | 264 | t.text "buy_url"
|
|
274 | 270 | t.integer "canonical_id"
|
275 | 271 | t.integer "position"
|
276 | 272 | t.boolean "hide_from_index", default: false
|
| 273 | + t.datetime "created_at", null: false |
| 274 | + t.datetime "updated_at", null: false |
277 | 275 | t.string "publication_status"
|
| 276 | + t.boolean "featured_status", default: false, null: false |
| 277 | + t.datetime "featured_at", precision: nil |
278 | 278 | t.index ["canonical_id"], name: "index_journals_on_canonical_id"
|
279 | 279 | end
|
280 | 280 |
|
281 | 281 | create_table "locales", force: :cascade do |t|
|
282 | 282 | t.string "abbreviation"
|
283 | 283 | t.string "name_in_english"
|
284 | 284 | t.string "name"
|
285 |
| - t.datetime "created_at", precision: nil, null: false |
286 |
| - t.datetime "updated_at", precision: nil, null: false |
287 | 285 | t.string "slug"
|
288 | 286 | t.integer "articles_count", default: 0
|
| 287 | + t.datetime "created_at", null: false |
| 288 | + t.datetime "updated_at", null: false |
289 | 289 | t.string "language_direction"
|
290 | 290 | end
|
291 | 291 |
|
|
297 | 297 | t.string "content_format"
|
298 | 298 | t.datetime "published_at", precision: nil
|
299 | 299 | t.text "summary"
|
300 |
| - t.datetime "created_at", precision: nil, null: false |
301 |
| - t.datetime "updated_at", precision: nil, null: false |
302 | 300 | t.string "locale", default: "en"
|
303 | 301 | t.integer "canonical_id"
|
304 | 302 | t.integer "position"
|
305 | 303 | t.boolean "hide_from_index", default: false
|
| 304 | + t.datetime "created_at", null: false |
| 305 | + t.datetime "updated_at", null: false |
306 | 306 | t.string "publication_status"
|
307 | 307 | t.boolean "featured_status", default: false, null: false
|
308 | 308 | t.datetime "featured_at", precision: nil
|
|
324 | 324 | t.string "slug"
|
325 | 325 | t.string "draft_code"
|
326 | 326 | t.datetime "published_at", precision: nil
|
327 |
| - t.datetime "created_at", precision: nil, null: false |
328 |
| - t.datetime "updated_at", precision: nil, null: false |
329 | 327 | t.string "published_at_tz", default: "Pacific Time (US & Canada)", null: false
|
330 | 328 | t.string "locale", default: "en"
|
331 | 329 | t.integer "canonical_id"
|
| 330 | + t.datetime "created_at", null: false |
| 331 | + t.datetime "updated_at", null: false |
332 | 332 | t.string "publication_status"
|
333 | 333 | t.index ["canonical_id"], name: "index_pages_on_canonical_id"
|
334 | 334 | end
|
|
351 | 351 | t.text "itunes_url"
|
352 | 352 | t.text "overcast_url"
|
353 | 353 | t.text "pocketcasts_url"
|
354 |
| - t.datetime "created_at", precision: nil, null: false |
355 |
| - t.datetime "updated_at", precision: nil, null: false |
356 | 354 | t.string "episode_prefix"
|
357 | 355 | t.string "locale", default: "en"
|
358 | 356 | t.integer "canonical_id"
|
359 |
| - t.boolean "boolean", default: false, null: false |
360 |
| - t.datetime "datetime", precision: nil |
| 357 | + t.datetime "created_at", null: false |
| 358 | + t.datetime "updated_at", null: false |
| 359 | + t.boolean "featured_status", default: false, null: false |
| 360 | + t.datetime "featured_at", precision: nil |
361 | 361 | t.index ["canonical_id"], name: "index_podcasts_on_canonical_id"
|
362 | 362 | end
|
363 | 363 |
|
|
374 | 374 | t.text "slug"
|
375 | 375 | t.string "height"
|
376 | 376 | t.string "width"
|
377 |
| - t.datetime "created_at", precision: nil, null: false |
378 |
| - t.datetime "updated_at", precision: nil, null: false |
379 | 377 | t.string "depth"
|
380 | 378 | t.string "front_image_format", default: "jpg"
|
381 | 379 | t.string "back_image_format", default: "jpg"
|
|
394 | 392 | t.datetime "featured_at", precision: nil
|
395 | 393 | t.integer "position"
|
396 | 394 | t.boolean "hide_from_index", default: false
|
| 395 | + t.datetime "created_at", null: false |
| 396 | + t.datetime "updated_at", null: false |
397 | 397 | t.string "publication_status"
|
398 | 398 | t.index ["canonical_id"], name: "index_posters_on_canonical_id"
|
399 | 399 | end
|
|
402 | 402 | t.string "source_path"
|
403 | 403 | t.string "target_path"
|
404 | 404 | t.boolean "temporary"
|
405 |
| - t.datetime "created_at", precision: nil, null: false |
406 |
| - t.datetime "updated_at", precision: nil, null: false |
407 | 405 | t.integer "article_id"
|
| 406 | + t.datetime "created_at", null: false |
| 407 | + t.datetime "updated_at", null: false |
408 | 408 | end
|
409 | 409 |
|
410 | 410 | create_table "stickers", force: :cascade do |t|
|
|
432 | 432 | t.boolean "front_black_and_white_download_present"
|
433 | 433 | t.boolean "back_color_download_present"
|
434 | 434 | t.boolean "back_black_and_white_download_present"
|
435 |
| - t.datetime "created_at", precision: nil, null: false |
436 |
| - t.datetime "updated_at", precision: nil, null: false |
437 | 435 | t.string "locale", default: "en"
|
438 | 436 | t.integer "canonical_id"
|
439 | 437 | t.boolean "featured_status", default: false
|
440 | 438 | t.datetime "featured_at", precision: nil
|
441 | 439 | t.integer "position"
|
442 | 440 | t.boolean "hide_from_index", default: false
|
| 441 | + t.datetime "created_at", null: false |
| 442 | + t.datetime "updated_at", null: false |
443 | 443 | t.string "publication_status"
|
444 | 444 | t.index ["canonical_id"], name: "index_stickers_on_canonical_id"
|
445 | 445 | end
|
|
453 | 453 | create_table "taggings", id: :serial, force: :cascade do |t|
|
454 | 454 | t.integer "tag_id"
|
455 | 455 | t.integer "taggable_id"
|
456 |
| - t.datetime "created_at", precision: nil, null: false |
457 |
| - t.datetime "updated_at", precision: nil, null: false |
458 | 456 | t.string "taggable_type"
|
| 457 | + t.datetime "created_at", null: false |
| 458 | + t.datetime "updated_at", null: false |
459 | 459 | end
|
460 | 460 |
|
461 | 461 | create_table "tags", id: :serial, force: :cascade do |t|
|
462 | 462 | t.string "name"
|
463 | 463 | t.string "slug"
|
464 |
| - t.datetime "created_at", precision: nil, null: false |
465 |
| - t.datetime "updated_at", precision: nil, null: false |
466 | 464 | t.string "locale", default: "en"
|
467 | 465 | t.integer "canonical_id"
|
| 466 | + t.datetime "created_at", null: false |
| 467 | + t.datetime "updated_at", null: false |
468 | 468 | t.index ["canonical_id"], name: "index_tags_on_canonical_id"
|
469 | 469 | t.index ["name"], name: "index_tags_on_name", unique: true
|
470 | 470 | end
|
471 | 471 |
|
472 | 472 | create_table "users", id: :serial, force: :cascade do |t|
|
473 | 473 | t.string "username"
|
474 | 474 | t.string "password_digest"
|
475 |
| - t.datetime "created_at", precision: nil, null: false |
476 |
| - t.datetime "updated_at", precision: nil, null: false |
| 475 | + t.datetime "created_at", null: false |
| 476 | + t.datetime "updated_at", null: false |
477 | 477 | t.string "role"
|
478 | 478 | end
|
479 | 479 |
|
|
493 | 493 | t.string "year"
|
494 | 494 | t.string "month"
|
495 | 495 | t.string "day"
|
496 |
| - t.datetime "created_at", precision: nil, null: false |
497 |
| - t.datetime "updated_at", precision: nil, null: false |
498 | 496 | t.string "published_at_tz", default: "Pacific Time (US & Canada)", null: false
|
499 | 497 | t.string "locale", default: "en"
|
500 | 498 | t.integer "canonical_id"
|
| 499 | + t.datetime "created_at", null: false |
| 500 | + t.datetime "updated_at", null: false |
501 | 501 | t.string "publication_status"
|
502 | 502 | t.text "peer_tube_url"
|
503 |
| - t.boolean "boolean", default: false, null: false |
504 |
| - t.datetime "datetime", precision: nil |
| 503 | + t.boolean "featured_status", default: false, null: false |
| 504 | + t.datetime "featured_at", precision: nil |
505 | 505 | t.index ["canonical_id"], name: "index_videos_on_canonical_id"
|
506 | 506 | end
|
507 | 507 |
|
|
547 | 547 | t.boolean "print_black_and_white_download_present"
|
548 | 548 | t.boolean "screen_single_page_view_download_present"
|
549 | 549 | t.boolean "screen_two_page_view_download_present"
|
550 |
| - t.datetime "created_at", precision: nil, null: false |
551 |
| - t.datetime "updated_at", precision: nil, null: false |
552 | 550 | t.string "locale", default: "en"
|
553 | 551 | t.integer "canonical_id"
|
554 | 552 | t.boolean "featured_status", default: false
|
555 | 553 | t.datetime "featured_at", precision: nil
|
556 | 554 | t.integer "position"
|
557 | 555 | t.boolean "hide_from_index", default: false
|
| 556 | + t.datetime "created_at", null: false |
| 557 | + t.datetime "updated_at", null: false |
558 | 558 | t.string "publication_status"
|
559 | 559 | t.index ["canonical_id"], name: "index_zines_on_canonical_id"
|
560 | 560 | end
|
|
0 commit comments